]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00275034-3 camera: ov5640: port the driver from 3.5.7
authorRobby Cai <R63905@freescale.com>
Thu, 5 Sep 2013 09:55:15 +0000 (17:55 +0800)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:55:33 +0000 (09:55 +0800)
commit015993c1503d21cef1ce0ca92b473bd373a2c1bd
tree5ac3674edeee1790e9a216c2c7e4e3afb8b62269
parent91c3369ec0090731ca7a5ebe211d2e17e4ce1319
ENGR00275034-3 camera: ov5640: port the driver from 3.5.7

from commit 9293d3aaef4886eae9a500f0dabdcd2b679422b4
and commit cb1d78fc935fa00be03ae1a7b66477ad518a09dc, branch imx_3.5.7

This patch also does
- use module_i2c_driver() instead of module_init/exit.
- set the regulator reference pointer to NULL if it's not found in DT.
  Otherwise call regulator_enable/disable() on it will cause dump
  since the codes only check the regulator against NULL before the call
  and it's not NULL but still invalid.
- drop gpo regulator definition and operations since it's of no use

Signed-off-by: Robby Cai <R63905@freescale.com>
drivers/media/platform/mxc/capture/Kconfig
drivers/media/platform/mxc/capture/Makefile
drivers/media/platform/mxc/capture/ov5640.c [new file with mode: 0644]