diff options
author | Adam Manzanares <adam.manzanares@wdc.com> | 2016-12-13 12:00:05 -0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-12-13 17:20:17 -0500 |
commit | 9f56eca3aeeab699a7dbfb397661d2eca4430e94 (patch) | |
tree | 92de910b4b32d8ba9297f9dbc1fc6a5f5b979293 /Makefile | |
parent | aecec8b60422118b52e3347430ba9382e57d6d76 (diff) |
ata: avoid probing NCQ Prio Support if not explicitly requested
Previously, when the ata device was being initialized we were
probing for NCQ prio support by checking the identify information
and also checking the log page that holds information about ncq prio
support.
This caused an error on an Intel HBA so the code is now updated to
only probe for NCQ prio support when the sysfs variable controlling
NCQ prio support is enabled.
tj: Update formatting, switch to spin_[un]lock_irq() and update
locking a bit, use REVALIDATE instead of RESET, and return -EIO
instead of -EINVAL on config failure.
Signed-off-by: Adam Manzanares <adam.manzanares@wdc.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions