diff options
author | Shawn Joo <sjoo@nvidia.com> | 2012-03-13 07:47:36 +0900 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-04-23 08:11:41 -0700 |
commit | eada4f8e518a87a9171db5463783fd3166c67fa7 (patch) | |
tree | e462ad907a9d14f7bda0f2fabe83f963d32bc20a /include/asm-generic/socket.h | |
parent | e929f231fb47ae745934386f53cfb7ea5b5a257b (diff) |
arm: tegra: xmm: check return value of autopm_get
check return value of usb_autopm_get_interface().
if return value is not success, usb_autopm_put_interface() should
not be called to make up the reference count.
Bug 936094
Signed-off-by: Shawn Joo <sjoo@nvidia.com>
Reviewed-on: http://git-master/r/85974
(cherry picked from commit aad2bf5c8fef639465c4bb895b73a23c3f0c0403)
Change-Id: Ifd1deb1e0953eae1fd8d41f48989b650d6951fed
Reviewed-on: http://git-master/r/97647
Reviewed-by: Shawn Joo <sjoo@nvidia.com>
Tested-by: Shawn Joo <sjoo@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Steve Lin <stlin@nvidia.com>
Diffstat (limited to 'include/asm-generic/socket.h')
0 files changed, 0 insertions, 0 deletions