Skip to content

Commit

Permalink
ALSA: azt3328: use proper private_data hookup for codec identification
Browse files Browse the repository at this point in the history
- much improved implementation due to clean codec hierarchy
- preparation for potential per-codec spinlock change

NOTE: additionally removes a chip->pcm[codec_type] NULL ptr check
(due to it requiring access to external chip struct),
however I believe this to be ok since this condition should not occur
and most drivers don't check against that either.

Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
andim2 authored and tiwai committed Jan 2, 2011
1 parent 3458559 commit da237f3
Showing 1 changed file with 90 additions and 144 deletions.
Loading

0 comments on commit da237f3

Please sign in to comment.