]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ASoC: Blackfin: cleanup sport handling in ASoC Blackfin AC97 code
authorMike Frysinger <vapier.adi@gmail.com>
Fri, 6 Feb 2009 10:12:34 +0000 (18:12 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 6 Feb 2009 12:07:29 +0000 (12:07 +0000)
commit92a950ff2b7091a735c32a6e57b8136650bc7812
treed16b8611f0dd97478d7fa32b2e459e3b5ab2f9e2
parent0664678a84c653bde844c7d91646259a25c6188b
ASoC: Blackfin: cleanup sport handling in ASoC Blackfin AC97 code

- make sport number handling more dynamic as not all
  Blackfins have a linear sport map starting at 0
- indexes can be macroed away too

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/blackfin/bf5xx-ac97.c