mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
media: media/platform: don't set description in ENUM_FMT
The V4L2 core sets the format description and flags for the driver in order to ensure consistent naming. So drop the strscpy of the description in drivers. Also remove any description strings in driver-internal structures since those are no longer needed. And in am437x-vpfe.c drop an unnecessary f->type assignment in vpfe_enum_fmt(). Signed-off-by: Hans Verkuil <[email protected]> Acked-by: Benoit Parrot <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> [[email protected]: addressed some small suggestions from Laurent] Acked-by: Lad, Prabhakar <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
642ac63d16
commit
59fe916c84
34 changed files with 31 additions and 262 deletions
|
|
@ -87,7 +87,6 @@ struct fimc_source_info {
|
|||
/**
|
||||
* struct fimc_fmt - color format data structure
|
||||
* @mbus_code: media bus pixel code, -1 if not applicable
|
||||
* @name: format description
|
||||
* @fourcc: fourcc code for this format, 0 if not applicable
|
||||
* @color: the driver's private color format id
|
||||
* @memplanes: number of physically non-contiguous data planes
|
||||
|
|
@ -99,7 +98,6 @@ struct fimc_source_info {
|
|||
*/
|
||||
struct fimc_fmt {
|
||||
u32 mbus_code;
|
||||
char *name;
|
||||
u32 fourcc;
|
||||
u32 color;
|
||||
u16 memplanes;
|
||||
|
|
|
|||
Loading…
Reference in a new issue