gpio: pca953x: add shutdown handler
authorKerwin Wan <kerwinw@nvidia.com>
Sat, 6 Jun 2015 21:53:00 +0000 (14:53 -0700)
committerKerwin Wan <kerwinw@nvidia.com>
Fri, 10 Jul 2015 10:10:40 +0000 (03:10 -0700)
commit40ff5522abe23fb19b525d1ee47533929cab4f11
tree6558b80ed5c0135e8fc0bc893d1ad4fee5ca56a8
parente9164b9076f377dcdc36d00ae476978a87ffb480
gpio: pca953x: add shutdown handler

During shutdown, there may be an irq which is
being handled. This irq should be handled before
i2c bus is shutdown.

Bug 1653009

Change-Id: Ib3a593885b46e7d0a48034ccfd29fb9aa34dc850
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/753540
(cherry picked from commit 3d441a7557150826b8e2e80f48a901f61d6f7057)
Reviewed-on: http://git-master/r/758171
(cherry picked from commit 9d5a235b3255526e1286c6671753229b16ff3072)
Reviewed-on: http://git-master/r/768414
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
drivers/gpio/gpio-pca953x.c