summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2018-11-26 06:07:29 -0500
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-12-03 14:41:15 -0500
commitc2286cc02e32a2f40735e42c27acecd60a91f060 (patch)
treed4e86f02095ccb7d28af42b6f4152d144d04f356 /samples
parentb04240a6d5ed5b219c1c7626d0e1f4f1acc0e2f5 (diff)
media: v4l: ioctl: Allow drivers to fill in the format description
The v4l_fill_fmtdesc() function does a good job in filling in pixelformat description. While generally all drivers should depend on this function doing the job, staging drivers that use their own formats may not. Allow staging drivers to fill in their own formats by checking whether the description begins with a non-nil character before issuing the warning. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Suggested-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions