commit | c9cd3504eb03755db8e64f894ccd4ebee59734b7 | [log] [tgz] |
---|---|---|
author | Tom Yan <tom.ty89@gmail.com> | Wed Jul 13 02:54:11 2016 +0800 |
committer | Tejun Heo <tj@kernel.org> | Tue Jul 12 14:58:43 2016 -0400 |
tree | df5ffe7888aea54df268715f3b3e613e874d8d74 | |
parent | a548cc00cf7b0cb3c5b311e0129453f280faed94 [diff] |
libata-scsi: fix D_SENSE bit relection in control mode page The bit should always be set to 1 when the requested version of page is "changeable" because we've made it so in ata_mselect_control(). Also, it should always be set to 1 if ATA_DFLAG_D_SENSE is set (when the requested version of page is "current" or "default"). Signed-off-by: Tom Yan <tom.ty89@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>