mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
[media] mt9v032: Use the common clock framework
Configure the device external clock using the common clock framework instead of a board code callback function. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
4ab0620bdc
commit
3300a8fd48
2 changed files with 11 additions and 10 deletions
|
|
@ -1,13 +1,9 @@
|
|||
#ifndef _MEDIA_MT9V032_H
|
||||
#define _MEDIA_MT9V032_H
|
||||
|
||||
struct v4l2_subdev;
|
||||
|
||||
struct mt9v032_platform_data {
|
||||
unsigned int clk_pol:1;
|
||||
|
||||
void (*set_clock)(struct v4l2_subdev *subdev, unsigned int rate);
|
||||
|
||||
const s64 *link_freqs;
|
||||
s64 link_def_freq;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue