Re: [PATCH] libata: clean up ZPODD when a port is detached

2014-05-07 Thread Tejun Heo
On Tue, May 06, 2014 at 03:57:48PM +0200, Levente Kurusa wrote: > 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

Re: [PATCH] libata: clean up ZPODD when a port is detached

2014-05-07 Thread Tejun Heo
On Tue, May 06, 2014 at 03:57:48PM +0200, Levente Kurusa wrote: 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

[PATCH] libata: clean up ZPODD when a port is detached

2014-05-06 Thread Levente Kurusa
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

[PATCH] libata: clean up ZPODD when a port is detached

2014-05-06 Thread Levente Kurusa
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