firmware: arm_scmi: reset: fix reset_state assignment in scmi_domain_reset
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 9 Sep 2019 15:21:30 +0000 (16:21 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Wed, 18 Sep 2019 12:42:16 +0000 (13:42 +0100)
commit11ed5cf064beac3ca345bb75fdf2429e03ac106a
treeed40ed5ac001b9370fd958341c3e73be38f6afd2
parentc8ae9c2da1cc5d18b6d51d10160508a3dc3436bf
firmware: arm_scmi: reset: fix reset_state assignment in scmi_domain_reset

Fix the copy paste typo that incorrectly assigns domain_id with the
passed 'state' parameter instead of reset_state.

Fixes: 95a15d80aa0d ("firmware: arm_scmi: Add RESET protocol in SCMI v2.0")
Reported-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/reset.c