diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-04-14 20:13:18 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-04-16 06:47:22 (GMT) |
commit | a41d122449bea303ada415ef5fb2bf434f5481f9 (patch) | |
tree | e6f516f463dcf330567f226d4e9b1f43b2bc9e0e /sound/i2c | |
parent | ccc98865aa44184e34de8df96dc837726c978949 (diff) | |
download | linux-a41d122449bea303ada415ef5fb2bf434f5481f9.tar.xz |
ALSA: hda - Embed bus into controller object
... and replace with the existing hda-core helper codes.
This reduces lots of lines, finally.
Since struct hda_bus is now embedded into struct azx,
snd_hda_bus_new() is moved and expanded from hda_codec.c to
hda_controller.c, accordingly. Also private_free bus ops and
private_data field are removed because we no longer need to point azx
object from bus (we can use container_of())
The spin locks are consolidated into the single one, bus->reg_lock.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions