Re: [PATCH] libata: clean up ZPODD when a port is detached
From: Tejun Heo
Date: Wed May 07 2014 - 09:18:48 EST
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 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@xxxxxxxxxxxxxxx
> Reviewed-by: Aaron Lu <aaron.lu@xxxxxxxxx>
> Signed-off-by: Levente Kurusa <levex@xxxxxxxxx>
Applied to libata/for-3.15-fixes.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/