summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/processor.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-11-08 13:09:00 +0900
committerJeff Garzik <jeff@garzik.org>2007-11-08 13:08:42 -0500
commit32ebbc0c0d5d18c0135b55d1eb0029f48c54aff0 (patch)
tree7da2103a3fd6998da95c3b38b5db69c24122df1d /include/asm-sh/processor.h
parent1974e20161a2c097c481d2ff711de7db56cb2cd6 (diff)
downloadblackbird-op-linux-32ebbc0c0d5d18c0135b55d1eb0029f48c54aff0.tar.gz
blackbird-op-linux-32ebbc0c0d5d18c0135b55d1eb0029f48c54aff0.zip
libata: port and host should be stopped before hardware resources are released
Port / host stop calls used to be made from ata_host_release() which is called after all hardware resources acquired after host allocation are released. This is wrong as port and host stop routines often access the hardware. Add separate devres for port / host stop which is invoked right after IRQ is released but with all other hardware resources intact. The devres is added iff ->host_stop and/or ->port_stop exist. This problem has been spotted by Mark Lord. Signed-off-by: Tejun Heo <htejun@gmail.com> Cc: Mark Lord <liml@rtr.ca> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/asm-sh/processor.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud