]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (7398): Adds an error if priv argument of tuner_callback is NULL
authorMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 22 Apr 2008 17:46:10 +0000 (14:46 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:53 +0000 (14:07 -0300)
commit22324d3010a6624649fc421730b1b52c19d54edb
tree0de42232dc985bfa3d2e9490be89b870702880ff
parentd5ba6e75494055bc5783d10f3b4ee2a2e981dfcd
V4L/DVB (7398): Adds an error if priv argument of tuner_callback is NULL

Adds a consistency check to avoid OOPS, if tuner_callback priv argument is
NULL. Also, simplifies callback codes on cx88.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-cards.c
drivers/media/video/saa7134/saa7134-cards.c