linux/sound/x86
Takashi Iwai 83af57dd51 ALSA: x86: Don't check connection in lowlevel accessors
The lowlevel register read/write don't have to be careful about the
connection state.  It should be checked in the caller side instead.
By dropping the check, we can simplify the code, and readability.

This patch also refacors the functions slightly: namely,
- drop the useless always-zero return values
- fold the inline functions to the main accessor functions themselves
- move the DP audio hack for AUD_CONFIG to the caller side
- simplify snd_intelhad_eanble_audio() and drop the unused
  had_read_modify()

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2017-02-05 08:47:25 +01:00
..
Kconfig
Makefile ALSA: x86: Fold intel_hdmi_audio_if.c into main file 2017-02-03 17:31:54 +01:00
intel_hdmi_audio.c ALSA: x86: Don't check connection in lowlevel accessors 2017-02-05 08:47:25 +01:00
intel_hdmi_audio.h ALSA: x86: Rename drv_status to connected 2017-02-03 17:38:02 +01:00
intel_hdmi_lpe_audio.h ALSA: x86: Rename drv_status to connected 2017-02-03 17:38:02 +01:00