MLK-11293: gpio: pca953x: add device_reset() call
authorShawn Guo <shawn.guo@freescale.com>
Sun, 14 Jul 2013 13:52:38 +0000 (21:52 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:46:52 +0000 (14:46 -0500)
commitb09a1604f63a81fed2d09f91cf85e3f01ceea329
tree7a333b873c8e13d55448afc554a07a31f2e9cf87
parentd3f79076420aae20f65d7210315124c4a8b77d74
MLK-11293: gpio: pca953x: add device_reset() call

The pca953x type of devices, e.g. max7310, may have a reset which needs
to be handled to get the device start working.  Add a device_reset()
call for that, and defer the probe if the reset controller for that is
not ready yet.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Fugang Duan <B38611@freescale.com>
(cherry picked from commit: d3264091b30b777d94a18efda9823a06668d5b10)
drivers/gpio/gpio-pca953x.c