diff options
author | Jason Chen <b02280@freescale.com> | 2011-09-14 16:26:11 +0800 |
---|---|---|
committer | Jason Chen <b02280@freescale.com> | 2011-09-14 16:26:11 +0800 |
commit | 3e208944aeebf4b4d5529901f84bbfd88f75b1f7 (patch) | |
tree | 9720eabca8701d6bf9f2242909e8eb765617661e | |
parent | 7e4c452de18618ec140a0a1d00171ce776a00d83 (diff) |
ENGR00156183-2 sii902x: add error handle of put_pins for probe fail
there is hardware pin conflict between sii902x DET and egalax touch screen
on mx53 loco board. Request gpio during sii902x probe can fix this conflict
only when these two module not co-exist.
Signed-off-by: Jason Chen <b02280@freescale.com>
-rw-r--r-- | drivers/video/mxc/mxcfb_sii902x.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/mxc/mxcfb_sii902x.c b/drivers/video/mxc/mxcfb_sii902x.c index 43613bbd9e26..ad23cd9ebab6 100644 --- a/drivers/video/mxc/mxcfb_sii902x.c +++ b/drivers/video/mxc/mxcfb_sii902x.c @@ -1204,6 +1204,8 @@ static int __devinit sii902x_probe(struct i2c_client *client, return ret; init_failed: + if (plat->put_pins) + plat->put_pins(); get_pins_failed: platform_device_unregister(sii902x->pdev); register_pltdev_failed: |