Skip to content

Commit

Permalink
[media] omap3isp: preview: Pass a prev_params pointer to configuratio…
Browse files Browse the repository at this point in the history
…n functions

Instead of using void pointers and offset arithmetics to compute a
pointer to configuration parameters in a generic way, pass the complete
parameters structure to configuration functions and let them access the
parameters they need.

Also modify the enable functions to use a bool enable parameter instead
of a u8.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Laurent Pinchart authored and Mauro Carvalho Chehab committed Aug 11, 2012
1 parent fbabfa8 commit 6f1dd56
Showing 1 changed file with 83 additions and 117 deletions.
Loading

0 comments on commit 6f1dd56

Please sign in to comment.