]> git.karo-electronics.de Git - karo-tx-linux.git/commit
libata: forbid port runtime pm by default, fixing regression
authorLin Ming <ming.m.lin@intel.com>
Wed, 18 Apr 2012 01:29:47 +0000 (09:29 +0800)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 18 Apr 2012 18:33:25 +0000 (14:33 -0400)
commit0c8d32c27f5cf6e14ca14b4758d1e994eebd50fd
tree7d5bce4b9d024c88dc67d8e2ef0c81df4c5be342
parent85d6725b7c0d7e3fa4261fdd4c020be4224fc9f1
libata: forbid port runtime pm by default, fixing regression

Forbid port runtime pm by default because it has known hotplug issue.
User can allow it by, for example

echo auto > /sys/devices/pci0000:00/0000:00:1f.2/ata2/power/control

Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-transport.c