aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/hid-sensor-accel-3d.c
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2014-07-10 11:55:03 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-11 18:23:50 -0700
commiteb82a3d846fab00c4b9ad6bbe5ade4fa5febc0af (patch)
treed200444e54061fad1c7209dd6a2716815afa55cb /drivers/iio/accel/hid-sensor-accel-3d.c
parentphy: core: Fix error path in phy_create() (diff)
downloadlinux-dev-eb82a3d846fab00c4b9ad6bbe5ade4fa5febc0af.tar.xz
linux-dev-eb82a3d846fab00c4b9ad6bbe5ade4fa5febc0af.zip
phy: omap-usb2: Balance pm_runtime_enable() on probe failure and remove
If probe fails then we need to call pm_runtime_disable() to balance out the previous pm_runtime_enable() call. Else it will cause unbalanced pm_runtime_enable() call in the succeding probe call. This anomaly was observed when the call to devm_phy_create() failed with -EPROBE_DEFER. Balance out the pm_runtime_enable() call in .remove() as well. Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/accel/hid-sensor-accel-3d.c')
0 files changed, 0 insertions, 0 deletions