summaryrefslogtreecommitdiff
path: root/include/sound/soc-topology.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2015-07-17 23:30:26 +0300
committerBjorn Helgaas <bhelgaas@google.com>2015-08-13 23:57:22 +0300
commit3c765399524308ab36777a443ce77e19810a97d7 (patch)
tree2698456eafb15a32339f5d177fc6bb413e1bb321 /include/sound/soc-topology.h
parent67930995d7fb8ae7d2078822b563010b289ace2e (diff)
downloadlinux-3c765399524308ab36777a443ce77e19810a97d7.tar.xz
PCI: Rationalize pci_ats_queue_depth() error checking
We previously returned -ENODEV for devices that don't support ATS (except that we always returned 0 for VFs, whether or not they support ATS). For consistency, always return -EINVAL (not -ENODEV) if the device doesn't support ATS. Return zero for VFs that support ATS. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/sound/soc-topology.h')
0 files changed, 0 insertions, 0 deletions