[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:
committed by
Mauro Carvalho Chehab
parent
4ab0620bdc
commit
3300a8fd48
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user