diff options
author | Lad, Prabhakar <prabhakar.lad@ti.com> | 2012-09-27 07:33:12 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-06 02:56:22 +0200 |
commit | f4ad8d74e1ab54861bf084052a032c708dd0e227 (patch) | |
tree | 248f2b82c0c28bf053cb6a06780ba9ae83acb50c /arch/arm/mach-davinci | |
parent | [media] fsl-viu: fix compiler warning (diff) | |
download | linux-f4ad8d74e1ab54861bf084052a032c708dd0e227.tar.xz linux-f4ad8d74e1ab54861bf084052a032c708dd0e227.zip |
[media] media: davinci: vpif: add check for NULL handler
for da850/omap-l138, there is no need to setup_input_channel_mode()
and set_clock(), to avoid adding dummy code in board file just returning
zero add a check in the driver itself to call the handler only if its
not NULL.
Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'arch/arm/mach-davinci')
0 files changed, 0 insertions, 0 deletions