The patch number 9952 was added via Mauro Carvalho Chehab <[email protected]>
to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel
If anyone has any objections, please let us know by sending a message to:
[email protected]
------
From: Mauro Carvalho Chehab <[email protected]>
v4l2-dbg: em2800 registers are not very common nowadays. Use it as alternate
names
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
---
v4l2-apps/util/v4l2-dbg-em28xx.h | 7 +++++--
v4l2-apps/util/v4l2-dbg.cpp | 4 ++--
2 files changed, 7 insertions(+), 4 deletions(-)
diff -r e1b72631405a -r b1b1e22fffd8 v4l2-apps/util/v4l2-dbg-em28xx.h
--- a/v4l2-apps/util/v4l2-dbg-em28xx.h Mon Dec 22 10:19:13 2008 -0200
+++ b/v4l2-apps/util/v4l2-dbg-em28xx.h Mon Dec 22 10:22:42 2008 -0200
@@ -24,8 +24,6 @@
#define EM28XX_PREFIX "EM28XX_"
static struct board_regs em28xx_regs[] = {
- {0x08, EM2800_PREFIX "AUDIOSRC", 1},
- {0x04, EM2880_PREFIX "GPO", 1},
{0x08, EM28XX_PREFIX "GPIO", 1},
{0x06, EM28XX_PREFIX "I2C_CLK", 1},
@@ -82,3 +80,8 @@ static struct board_regs em28xx_regs[] =
{0x10, EM28XX_PREFIX "LINE_IN_AC97", 1},
{0x14, EM28XX_PREFIX "VIDEO_AC97", 1},
};
+
+static struct board_regs em28xx_alt_regs[] = {
+ {0x08, EM2800_PREFIX "AUDIOSRC", 1},
+ {0x04, EM2880_PREFIX "GPO", 1},
+};
\ No newline at end of file
diff -r e1b72631405a -r b1b1e22fffd8 v4l2-apps/util/v4l2-dbg.cpp
--- a/v4l2-apps/util/v4l2-dbg.cpp Mon Dec 22 10:19:13 2008 -0200
+++ b/v4l2-apps/util/v4l2-dbg.cpp Mon Dec 22 10:22:42 2008 -0200
@@ -79,8 +79,8 @@ static const struct board_list boards[]
sizeof(EM28XX_PREFIX) - 1,
em28xx_regs,
ARRAY_SIZE(em28xx_regs),
- NULL,
- 0,
+ em28xx_alt_regs,
+ ARRAY_SIZE(em28xx_alt_regs),
},
};
---
Patch is available at:
http://linuxtv.org/hg/v4l-dvb/rev/b1b1e22fffd8a0d1b5259c000e732cc4e2549044
_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits