Levente Kurusa a6f9bf4d2f 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>
2014-05-07 09:17:03 -04:00
..
2014-04-08 08:31:48 -04:00
2013-06-02 22:22:03 -07:00
2013-07-30 08:59:24 -04:00
2014-03-11 08:30:53 -04:00
2013-06-02 22:22:03 -07:00
2014-03-26 12:36:53 -04:00
2008-01-23 05:24:15 -05:00
2013-06-02 22:22:03 -07:00
2014-03-26 12:36:53 -04:00
2007-07-02 10:17:42 -04:00