]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00269945: 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@freescale.com>
Fri, 16 Jan 2015 03:16:31 +0000 (21:16 -0600)
commitce1da8244607232da9f9785d252d8870baef9a80
treeb92700ef3c848c56602ce02e83c0af87c59ae1c8
parent6a4146b94c5dcda17da71f01f71f137f1205100b
ENGR00269945: 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.

[shawn.guo: cherry-pick commit e95dae89011e from imx_3.10.y]
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Conflicts:
drivers/gpio/gpio-pca953x.c
drivers/gpio/gpio-pca953x.c