diff options
| author | Shubhrajyoti D <[email protected]> | 2011-10-28 11:44:18 +0000 |
|---|---|---|
| committer | Grant Likely <[email protected]> | 2011-10-29 12:07:18 +0000 |
| commit | 751c925cbb3a270f9771e3945494cb44bd9e732a (patch) | |
| tree | 8f50cf84164ad01af3e752ba41f90cf14256d956 /net/unix/af_unix.c | |
| parent | spi/omap: Use a workqueue per omap2_mcspi controller (diff) | |
| download | kernel-751c925cbb3a270f9771e3945494cb44bd9e732a.tar.gz kernel-751c925cbb3a270f9771e3945494cb44bd9e732a.zip | |
spi/omap: call pm_runtime_disable in error path and remove
omap mcspi probe() doesnt call pm_runtime disable functions
in case of failure. remove() doesnt call pm_runtime disable. This could
lead to warnings as below on subsequent insmod.
~# insmod spi-omap2-mcspi.ko
[ 255.383671] omap2_mcspi omap2_mcspi.1: Unbalanced pm_runtime_enable!
...
This patch adds the pm_runtime disable() at appropriate stages.
Signed-off-by: Hebbar, Gururaja <[email protected]>
Signed-off-by: Shubhrajyoti D <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
