aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorAlexey Klimov <[email protected]>2013-03-28 00:08:19 +0400
committerJiri Kosina <[email protected]>2013-03-29 15:13:40 +0100
commit30b29537bcba070b3df8d7d24c1975676a1a6a4f (patch)
treea268c979c61a078fc2f07b4268b8ff0e8c407017 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent5b4617d82020addf244c8c5206270e49ef9933d6 (diff)
media: radio-ma901: return ENODEV in probe if usb_device doesn't match
Masterkit MA901 usb radio device shares USB ID with Atmel V-USB devices. This patch adds additional checks in usb_ma901radio_probe() and if product or manufacturer doesn't match we return -ENODEV and don't continue. This allows hid drivers to handle not MA901 device. Signed-off-by: Alexey Klimov <[email protected]> Acked-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions