summaryrefslogtreecommitdiffstats
path: root/lib/swiotlb.c
diff options
context:
space:
mode:
authorLevente Kurusa <levex@linux.com>2014-05-06 15:57:48 +0200
committerTejun Heo <tj@kernel.org>2014-05-07 15:17:03 +0200
commita6f9bf4d2f965b862b95213303d154e02957eed8 (patch)
tree8894fad6251e758a247f1560b886e0960b95bb40 /lib/swiotlb.c
parentahci: imx: software workaround for phy reset issue in resume (diff)
downloadlinux-a6f9bf4d2f965b862b95213303d154e02957eed8.tar.xz
linux-a6f9bf4d2f965b862b95213303d154e02957eed8.zip
libata: clean up ZPODD when a port is detached
When a ZPODD device is unbound via sysfs, the ACPI notify handler is not removed. This causes panics as observed in Bug #74601. The panic only happens when the wake happens from outside the kernel (i.e. inserting a media or pressing a button). Add a loop to ata_port_detach which loops through the port's devices and checks if zpodd is enabled, if so call zpodd_exit. Cc: stable@vger.kernel.org Reviewed-by: Aaron Lu <aaron.lu@intel.com> Signed-off-by: Levente Kurusa <levex@linux.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'lib/swiotlb.c')
0 files changed, 0 insertions, 0 deletions