commit | 099b7fcc770764ec06441066fddd90b97d868e11 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@redhat.com> | Thu Nov 13 14:01:15 2008 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Fri Nov 14 14:24:44 2008 -0200 |
tree | 3d361ef75ebd2a9298f46b5f229dd7552695fe9a | |
parent | dd03e970a18f266faf120e47355349d224f64e3f [diff] |
V4L/DVB (9618): tvaudio: add additional logic to avoid OOPS This patch checks for volume, bass, treble, set mode and get mode callbacks before actually enabling the code that would use them. Instead of aborting the driver for load, this patch will allow it to load with a reduced number of functionatities. This prevents OOPS if some board entry is missing a needed callback. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>