ata: sata_nv: Fix retrieving of active qcs
ata_qc_complete_multiple() has to be called with the tags physically active, that is the hw tag is at bit 0. ap->qc_active has the same tag at bit ATA_TAG_INTERNAL instead, so call ata_qc_get_active() to fix that up. This is done in the vein of 8385d756 ("libata: Fix retrieving of active qcs"). Fixes: 28361c40 ("libata: add extra internal command") Tested-by: NPali Rohár <pali@kernel.org> Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de> Signed-off-by: NJens Axboe <axboe@kernel.dk>
Showing
想要评论请 注册 或 登录