From: Sergei Shtylyov Date: Sun, 23 Jun 2013 19:25:04 +0000 (+0400) Subject: libata-zpodd: must use ata_tf_init() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~16^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0887c43f51c308b01605346e55d906ba858a6f9;p=pandora-kernel.git 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 Signed-off-by: Tejun Heo Cc: stable@vger.kernel.org --- Reading git-diff-tree failed