summaryrefslogtreecommitdiffstats
path: root/drivers/staging/tm6000/tm6000-alsa.c
Commit message (Collapse)AuthorAgeFilesLines
* V4L/DVB: tm6000: Replace all magic values by a register aliasMauro Carvalho Chehab2010-05-181-6/+6
| | | | | | | | | | | | | | Instead of using magic pairs of req/reg, replace them by the defined values. This patch were generated by the following script: cat tm6000-regs.h |perl -ne 'if (m/(TM6010_REQ[^\s]+)\s+0x([a-f0-9]+)\, 0x([a-f0-9]+)/) { $name="$1"; $req=$2; $val=$3; printf "s/REQ_${req}_SET_GET_AVREG[_BIT]*, 0x[0]*$3,/$1,/\n" }' >a; for i in tm*.c; do sed -f a $i >b && mv b $i; done Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB: tm6000: fix some info messagesDmitri Belimov2010-05-181-3/+4
| | | | | | | Fix some messages for add information about TM6010 Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12852): tm6000: Fix compilation against 2.6.31Mauro Carvalho Chehab2010-05-181-4/+3Star
| | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12834): tm6000: Fix two warningsMauro Carvalho Chehab2010-05-181-10/+2Star
| | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12833): tm6000: add a proper init code for -alsaMauro Carvalho Chehab2010-05-181-13/+70
| | | | | | Uses about the same initialization code as defined on usbaudio.c. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12831): tm6000: Convert cx88-alsa into tm6000-alsaMauro Carvalho Chehab2010-05-181-648/+101Star
| | | | | | | | - Remove cx88 specific setups; - Add tm6000 specific start/stop commands; - Do CodingStyle cleanups. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12830): tm6000: copy cx88-alsa as tm6000-alsaMauro Carvalho Chehab2010-05-181-0/+912
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>