diff options
author | Luca Risolia <luca.risolia@studio.unibo.it> | 2006-03-03 04:58:39 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-20 17:50:01 -0500 |
commit | 6e0755a4b2a41a8cd5839db69532d07262294b41 (patch) | |
tree | e180c082ba1b05f525a90ee6f1ea51543f710a5d /drivers/usb/media/zc0301.h | |
parent | 2e56222ed52cec40427fa89f23b228232e3e327e (diff) |
[PATCH] USB: ZC0301 driver bugfix
ZC0301 driver bugfix.
Use correct PID/VID USB entries.
Signed-off-by: Luca Risolia <luca.risolia@studio.unibo.it>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/media/zc0301.h')
-rw-r--r-- | drivers/usb/media/zc0301.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/usb/media/zc0301.h b/drivers/usb/media/zc0301.h index 9ba9135e824b..8e0655140e60 100644 --- a/drivers/usb/media/zc0301.h +++ b/drivers/usb/media/zc0301.h | |||
@@ -134,10 +134,7 @@ struct zc0301_device { | |||
134 | struct zc0301_device* | 134 | struct zc0301_device* |
135 | zc0301_match_id(struct zc0301_device* cam, const struct usb_device_id *id) | 135 | zc0301_match_id(struct zc0301_device* cam, const struct usb_device_id *id) |
136 | { | 136 | { |
137 | if (usb_match_id(usb_ifnum_to_if(cam->usbdev, 0), id)) | 137 | return usb_match_id(usb_ifnum_to_if(cam->usbdev, 0), id) ? cam : NULL; |
138 | return cam; | ||
139 | |||
140 | return NULL; | ||
141 | } | 138 | } |
142 | 139 | ||
143 | void | 140 | void |