mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[media] mt9p031: 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 <[email protected]> Acked-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
97f212767a
commit
d67492585d
2 changed files with 14 additions and 9 deletions
|
|
@ -5,13 +5,11 @@ struct v4l2_subdev;
|
|||
|
||||
/*
|
||||
* struct mt9p031_platform_data - MT9P031 platform data
|
||||
* @set_xclk: Clock frequency set callback
|
||||
* @reset: Chip reset GPIO (set to -1 if not used)
|
||||
* @ext_freq: Input clock frequency
|
||||
* @target_freq: Pixel clock frequency
|
||||
*/
|
||||
struct mt9p031_platform_data {
|
||||
int (*set_xclk)(struct v4l2_subdev *subdev, int hz);
|
||||
int reset;
|
||||
int ext_freq;
|
||||
int target_freq;
|
||||
|
|
|
|||
Loading…
Reference in a new issue