diff options
author | Lin Ming <ming.m.lin@intel.com> | 2012-04-18 03:29:47 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-04-18 20:33:25 +0200 |
commit | 0c8d32c27f5cf6e14ca14b4758d1e994eebd50fd (patch) | |
tree | 7d5bce4b9d024c88dc67d8e2ef0c81df4c5be342 /drivers/ata/libata-transport.c | |
parent | libata: make ata_print_id atomic (diff) | |
download | linux-0c8d32c27f5cf6e14ca14b4758d1e994eebd50fd.tar.xz linux-0c8d32c27f5cf6e14ca14b4758d1e994eebd50fd.zip |
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>
Diffstat (limited to 'drivers/ata/libata-transport.c')
-rw-r--r-- | drivers/ata/libata-transport.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/libata-transport.c b/drivers/ata/libata-transport.c index 74aaee30e264..c34190485377 100644 --- a/drivers/ata/libata-transport.c +++ b/drivers/ata/libata-transport.c @@ -294,6 +294,7 @@ int ata_tport_add(struct device *parent, device_enable_async_suspend(dev); pm_runtime_set_active(dev); pm_runtime_enable(dev); + pm_runtime_forbid(dev); transport_add_device(dev); transport_configure_device(dev); |