summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/au0828/au0828-cards.c
diff options
context:
space:
mode:
authorRafael Lourenço de Lima Chehab <chehabrafael@gmail.com>2015-06-09 03:20:45 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-06-10 17:39:35 +0200
commite42c8c6eb456f8978de417ea349eef676ef4385c (patch)
tree556fd547a3fa0f16c26911f4131c18fd719a62b5 /drivers/media/usb/au0828/au0828-cards.c
parent[media] lmedm04: implement dvb v5 statistics (diff)
downloadlinux-e42c8c6eb456f8978de417ea349eef676ef4385c.tar.xz
linux-e42c8c6eb456f8978de417ea349eef676ef4385c.zip
[media] au0828: move dev->boards atribuition to happen earlier
The attribution of dev->boards occured too late, which would couse an OOPS in media controller registration. Signed-off-by: Rafael Lourenço de Lima Chehab <chehabrafael@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/au0828/au0828-cards.c')
-rw-r--r--drivers/media/usb/au0828/au0828-cards.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/usb/au0828/au0828-cards.c b/drivers/media/usb/au0828/au0828-cards.c
index edc27355f271..6b469e8c4c6e 100644
--- a/drivers/media/usb/au0828/au0828-cards.c
+++ b/drivers/media/usb/au0828/au0828-cards.c
@@ -195,8 +195,6 @@ void au0828_card_setup(struct au0828_dev *dev)
dprintk(1, "%s()\n", __func__);
- dev->board = au0828_boards[dev->boardnr];
-
if (dev->i2c_rc == 0) {
dev->i2c_client.addr = 0xa0 >> 1;
tveeprom_read(&dev->i2c_client, eeprom, sizeof(eeprom));