diff options
author | Thierry MERLE <thierry.merle@free.fr> | 2006-12-15 14:46:53 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-12-27 11:19:04 -0500 |
commit | 38284ba361d69eca34a3bfc553ebfac81fea2698 (patch) | |
tree | ab923c9b82ac8f3be51006ccbd425182f3c07f42 /drivers/media/video/usbvision/usbvision-i2c.c | |
parent | 3a4456a073150c8b0d790daa007d2aab9ebdecb5 (diff) |
V4L/DVB (4970): Usbvision memory fixes
- fix decompression buffer allocation not done at first driver open
- simplification of USB sbuf allocation (use of usb_buffer_alloc)
- replaced vmalloc by vmalloc_32 (for homogeneity)
- add of saa7111 (i2cAddr=0x48) detection printout in attach_inform
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/usbvision/usbvision-i2c.c')
-rw-r--r-- | drivers/media/video/usbvision/usbvision-i2c.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/usbvision/usbvision-i2c.c b/drivers/media/video/usbvision/usbvision-i2c.c index efcd25bc1615..858252c15084 100644 --- a/drivers/media/video/usbvision/usbvision-i2c.c +++ b/drivers/media/video/usbvision/usbvision-i2c.c | |||
@@ -319,6 +319,9 @@ static int attach_inform(struct i2c_client *client) | |||
319 | case 0x4a: | 319 | case 0x4a: |
320 | PDEBUG(DBG_I2C,"attach_inform: saa7113 detected."); | 320 | PDEBUG(DBG_I2C,"attach_inform: saa7113 detected."); |
321 | break; | 321 | break; |
322 | case 0x48: | ||
323 | PDEBUG(DBG_I2C,"attach_inform: saa7111 detected."); | ||
324 | break; | ||
322 | case 0xa0: | 325 | case 0xa0: |
323 | PDEBUG(DBG_I2C,"attach_inform: eeprom detected."); | 326 | PDEBUG(DBG_I2C,"attach_inform: eeprom detected."); |
324 | break; | 327 | break; |