summaryrefslogtreecommitdiff
path: root/drivers/ata/libahci.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2013-06-23 23:25:04 +0400
committerTejun Heo <tj@kernel.org>2013-06-24 15:45:28 -0700
commitd0887c43f51c308b01605346e55d906ba858a6f9 (patch)
tree3a8a73f1b10ef05984f55e09e6e9f0569eb80e97 /drivers/ata/libahci.c
parent78062c50d15d6a0adfa09f6e35a6c52abcc9a32d (diff)
libata-zpodd: must use ata_tf_init()
There are some SATA controllers which have both devices 0 and 1 but this module just zeroes out taskfile and sets then ATA_TFLAG_DEVICE (not sure that's needed) which could lead to a wrong device being selected just before issuing command. Thus we should call ata_tf_init() which sets up the device register value properly, like all other users of ata_exec_internal() do... Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Tejun Heo <tj@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/ata/libahci.c')
0 files changed, 0 insertions, 0 deletions