ata: disable auto activate if controller do not support
euler inclusion category: bugfix bugzilla: 7718 CVE: NA --------------------------- Some SSDs (such as SAMSUNG PM863 or SM863) enabled auto activate but when the controller do not support then the data transfer failed. Fix this by sending set feature command to disable the disk's auto activate feature. Signed-off-by: NJason Yan <yanaijie@huawei.com> CC: Zhou Yupeng <zhouyupeng1@huawei.com> Signed-off-by: NZhen Lei <thunder.leizhen@huawei.com> [yan: cherry-picked from kernel-4.1] Signed-off-by: NJason Yan <yanaijie@huawei.com> Reviewed-by: Nzhengbin <zhengbin13@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录