reset: reset-scmi: add missing handle initialisation
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 9 Sep 2019 15:21:07 +0000 (16:21 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Wed, 18 Sep 2019 12:42:44 +0000 (13:42 +0100)
commit61423712dbb86e02af4aa5de65b9041493c92cac
tree178b50523fe5781b756093af7025bc38dd0d267f
parent11ed5cf064beac3ca345bb75fdf2429e03ac106a
reset: reset-scmi: add missing handle initialisation

scmi_reset_data->handle needs to be initialised at probe, so that it
can be later used to access scmi reset protocol APIs using the same.

Since it was tested with a module that obtained handle elsewhere,
it was missed easily. Add the missing scmi_reset_data->handle
initialisation to fix the issue.

Fixes: c8ae9c2da1cc ("reset: Add support for resets provided by SCMI")
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Reported-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/reset/reset-scmi.c