diff options
author | Tejun Heo <htejun@gmail.com> | 2009-04-14 05:59:03 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-04-16 21:21:22 +0200 |
commit | 20cbf5f8c0fe3df2ddbde1f334993b4dda18a651 (patch) | |
tree | 3d2c56462b8aa128f4e6c5cfd65d81a9fd227e6e /Documentation | |
parent | pata_hpt37x: fix HPT370 DMA timeouts (diff) | |
download | linux-20cbf5f8c0fe3df2ddbde1f334993b4dda18a651.tar.xz linux-20cbf5f8c0fe3df2ddbde1f334993b4dda18a651.zip |
pata_legacy: fix no device fail path
When pata_legacy can't detect any device, it unregisters the
platform_device and fails detection. However, it forgets to detach
ata host triggering weird failures as the host later gets freed by
devres while still attached. Fix it.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions