diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-22 10:22:42 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-22 10:22:42 -0200 |
commit | 71447659e72af9641c95885d7b92a568e7ce8dfc (patch) | |
tree | 36d7b93471e2f8c10b668d9da32f53cb37e6fb37 | |
parent | b041d4c5cfa27296e25d7719299bb0e745fc45cf (diff) | |
download | mediapointer-dvb-s2-71447659e72af9641c95885d7b92a568e7ce8dfc.tar.gz mediapointer-dvb-s2-71447659e72af9641c95885d7b92a568e7ce8dfc.tar.bz2 |
v4l2-dbg: em2800 registers are not very common nowadays. Use it as alternate names
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | v4l2-apps/util/v4l2-dbg-em28xx.h | 7 | ||||
-rw-r--r-- | v4l2-apps/util/v4l2-dbg.cpp | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/v4l2-apps/util/v4l2-dbg-em28xx.h b/v4l2-apps/util/v4l2-dbg-em28xx.h index c5117c6e7..3a0413b70 100644 --- a/v4l2-apps/util/v4l2-dbg-em28xx.h +++ b/v4l2-apps/util/v4l2-dbg-em28xx.h @@ -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 --git a/v4l2-apps/util/v4l2-dbg.cpp b/v4l2-apps/util/v4l2-dbg.cpp index 1841e677b..dfeae8cea 100644 --- a/v4l2-apps/util/v4l2-dbg.cpp +++ b/v4l2-apps/util/v4l2-dbg.cpp @@ -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), }, }; |