commit | 4181239136b9fb0b2c000fbff691f361dc9d48e5 | [log] [tgz] |
---|---|---|
author | Hemant Kumar <hemantk@codeaurora.org> | Fri Jul 13 15:26:20 2012 -0700 |
committer | Hemant Kumar <hemantk@codeaurora.org> | Tue Jul 24 16:13:21 2012 -0700 |
tree | 48249f5a8a917c7028b4fc7e8347429354f73366 | |
parent | a0e51df06ec6d5462ac04b043442e28cef7c56f4 [diff] |
usb: msm_otg: Fix error handling bug in driver probe Driver probe is returning 0(success) in case of error returned by APIs called in msm_otg_probe(). This is causing NULL pointer exceptions during system wide suspend as driver data for platform device is not set. CRs-Fixed: 379532 Change-Id: I194e9386ba8de6d88ab102a467793f8b2f03083a Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>