Skip to contentSkip to conversation

videodev2.h fix and em28xx regression fixes

GIT PULL Hans Verkuil 1 participant 2 messages Jan 27, 2013 – Feb 2, 2013 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi Mauro,

The first patch moves the DV control IDs from videodev2.h to v4l2-controls.h. I noticed that they weren't moved when the controls were split off from videodev2.h, probably because the patch adding the DV controls and the move to v4l2-controls.h crossed one another.

The second and third patch convert tvaudio and mt9v011 to the control framework. These patches were part of my original conversion of em28xx to the control framework, but when Devin based his em28xx work on my tree he forgot to pull them in.

Because of that any controls created by the mt9v011 and tvaudio drivers are inaccessible from em28xx. By converting those drivers to the control framework they are seen again.

Frank tested the mt9v011 conversion. I have tested the tvaudio conversion somewhat with a bttv card that had a tda9850, but if you have additional tvaudio cards (and especially an em28xx that uses the tvaudio module), then it would be good to do some additional tests. Other than the bttv card I have no other hardware to test tvaudio with.

Regards,

Hans

The following changes since commit 94a93e5f85040114d6a77c085457b3943b6da889:

[media] dvb_frontend: print a msg if a property doesn't exist (2013-01-23 19:10:57 -0200)

are available in the git repository at:

git://linuxtv.org/hverkuil/media_tree.git fixes

for you to fetch changes up to 7aa966b3c4135b1745a3c5ac60bdd8f79fead355:

mt9v011: convert to the control framework. (2013-01-27 10:22:27 +0100)

----------------------------------------------------------------
Hans Verkuil (3):
Move DV-class control IDs from videodev2.h to v4l2-controls.h
tvaudio: convert to the control framework.
mt9v011: convert to the control framework.

 drivers/media/i2c/mt9v011.c        |  223 +++++++++++++++++++++++++++++++++--------------------------------------------------------------------------
 drivers/media/i2c/tvaudio.c        |  224 ++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------
 include/uapi/linux/v4l2-controls.h |   24 ++++++++++++
 include/uapi/linux/videodev2.h     |   22 -----------
 4 files changed, 166 insertions(+), 327 deletions(-)
#1 lore raw
Quoted 16 lines · On Sun January 27 2013 10:43:00 Hans Verkuil wrote:

Hi Mauro,

The first patch moves the DV control IDs from videodev2.h to v4l2-controls.h. I noticed that they weren't moved when the controls were split off from videodev2.h, probably because the patch adding the DV controls and the move to v4l2-controls.h crossed one another.

The second and third patch convert tvaudio and mt9v011 to the control framework. These patches were part of my original conversion of em28xx to the control framework, but when Devin based his em28xx work on my tree he forgot to pull them in.

Because of that any controls created by the mt9v011 and tvaudio drivers are inaccessible from em28xx. By converting those drivers to the control framework they are seen again.

Quoted 5 lines

Frank tested the mt9v011 conversion. I have tested the tvaudio conversion somewhat with a bttv card that had a tda9850, but if you have additional tvaudio cards (and especially an em28xx that uses the tvaudio module), then it would be good to do some additional tests. Other than the bttv card I have no other hardware to test tvaudio with.

I've removed this pull request and I'll post a new one in a minute. I found another tvaudio fix that had to be included as well.

Regards,

Hans

Quoted 33 lines

Regards,

Hans

The following changes since commit 94a93e5f85040114d6a77c085457b3943b6da889:

[media] dvb_frontend: print a msg if a property doesn't exist (2013-01-23 19:10:57 -0200)

are available in the git repository at:

git://linuxtv.org/hverkuil/media_tree.git fixes

for you to fetch changes up to 7aa966b3c4135b1745a3c5ac60bdd8f79fead355:

mt9v011: convert to the control framework. (2013-01-27 10:22:27 +0100)

----------------------------------------------------------------
Hans Verkuil (3):
Move DV-class control IDs from videodev2.h to v4l2-controls.h
tvaudio: convert to the control framework.
mt9v011: convert to the control framework.

 drivers/media/i2c/mt9v011.c        |  223 +++++++++++++++++++++++++++++++++--------------------------------------------------------------------------
 drivers/media/i2c/tvaudio.c        |  224 ++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------
 include/uapi/linux/v4l2-controls.h |   24 ++++++++++++
 include/uapi/linux/videodev2.h     |   22 -----------
 4 files changed, 166 insertions(+), 327 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html