[alsa-devel] [PATCH -mm] sound/pci/au88x0/au88x0_wt.h remove unused code
25 Mar
2007
25 Mar
'07
5:51 p.m.
This patch is against the latest -mm snapshot.
Regards, Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
Signed-off-by: Michal Piotrowski michal.k.k.piotrowski@gmail.com
mjander@users.sourceforge.org
--- linux-work5/sound/pci/au88x0/au88x0_wt.h 2007-02-04 19:44:54.000000000 +0100
+++ linux-work3/sound/pci/au88x0/au88x0_wt.h 2007-03-25 16:57:17.000000000 +0200
@@ -33,25 +33,6 @@
#define WT_PARM(x,y) (((WT_BAR(x))+ 0x80 +(((x)&0x1f)<<2)+(y))<<2) /* 0x0200 */
#define WT_DELAY(x,y) (((WT_BAR(x))+ 0x100 +(((x)&0x1f)<<2)+(y))<<2) /* 0x0400 */
-/* Numeric indexes used by SetReg() and GetReg() */
-#if 0
-enum {
- run = 0, /* 0 W 1:run 0:stop */
- parm0, /* 1 W filter, samplerate */
- parm1, /* 2 W filter, samplerate */
- parm2, /* 3 W */
- parm3, /* 4 RW volume. This value is calculated using floating point ops. */
- sramp, /* 5 W */
- mute, /* 6 W 1:mute, 0:unmute */
- gmode, /* 7 RO Looks like only bit0 is used. */
- aramp, /* 8 W */
- mramp, /* 9 W */
- ctrl, /* a W */
- delay, /* b W All 4 values are written at once with same value. */
- dsreg, /* c (R)W */
-} wt_reg;
-#endif
-
typedef struct {
u32 parm0; /* this_1E4 */
u32 parm1; /* this_1E8 */
6482
Age (days ago)
6482
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michal Piotrowski