]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l: reorganize RF tuner control ID numbers
authorAntti Palosaari <crope@iki.fi>
Wed, 5 Feb 2014 01:13:44 +0000 (22:13 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 13 Mar 2014 13:26:44 +0000 (10:26 -0300)
commit6379ccf8ddd60a46ac5b12d7c8c963df5085eaa7
treece3c05f47b88edcdbf54c51b223c45f4d83a6f9c
parent7518ffaeacbe9221e881aa3a72f54c6bd6a4ad8f
[media] v4l: reorganize RF tuner control ID numbers

It appears that controls are ordered by ID number when enumerating.
That could lead illogical UI as controls are usually enumerated and
drawn by the application at runtime.

Change order of controls by reorganizing assigned IDs now as we can.
It is not reasonable possible after the API is released. Also, leave
some spare space between IDs too for possible future extensions.

Cc: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
include/uapi/linux/v4l2-controls.h