]> git.baikalelectronics.ru Git - kernel.git/commit
[libata] acpi: call ata_acpi_gtm during ata port init time
authorAaron Lu <aaron.lu@intel.com>
Wed, 15 Aug 2012 09:08:12 +0000 (17:08 +0800)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 17 Aug 2012 17:29:27 +0000 (13:29 -0400)
commit2940221af0c666c1e13ccac7c81a75b966e385f0
tree2e2ac6554f41d3410925064d8f04da490bafdec3
parent304601efaa3a9c56c2579db0742078f249eebe22
[libata] acpi: call ata_acpi_gtm during ata port init time

Commit c3ba563d02bc427600f6a91e9b615a9ac4823af6 mistakenly dropped
the code to get an initial gtm for the IDE channel. This caused the
following problem for Sergei:
http://marc.info/?l=linux-kernel&m=134484963618457&w=2

Fix this by adding the call back in ata_acpi_bind_host, and due to
this, the ata_ap_acpi_handle is modified accordingly.

Tested-by: Sergei Trofimovich <slyich@gmail.com>
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-acpi.c