]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] cx231xx: return an error if it can't read PCB config
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 27 Jul 2014 19:27:32 +0000 (16:27 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 27 Jul 2014 19:57:43 +0000 (16:57 -0300)
commit52841e5e145afdf5cc070863c383f41db8472575
tree81f7791da8100f9fb2d517febfaa6fe8e79e067c
parent4d2a7d3509f52106c50007c1dc0b8d79e8040128
[media] cx231xx: return an error if it can't read PCB config

Instead of using some random value, return an error if the
PCB config is not available or doesn't match a know profile

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/cx231xx/cx231xx-cards.c
drivers/media/usb/cx231xx/cx231xx-pcb-cfg.c
drivers/media/usb/cx231xx/cx231xx-pcb-cfg.h