]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: x86: Yet more tidy-up and clean-ups
authorTakashi Iwai <tiwai@suse.de>
Thu, 2 Feb 2017 16:38:50 +0000 (17:38 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Feb 2017 16:37:50 +0000 (17:37 +0100)
commit916a7ccd83eb821d65493c683cd9e4ebd8d27c06
treed8780d33b41b1c264e3287e248aad9c36eace97b
parente25f452c9538f9369a7abe6f9003a570b98ff05f
ALSA: x86: Yet more tidy-up and clean-ups

- Add a few more comments to functions.

- Move the initialization of some PCM state variables to open and
  prepare callbacks, where these are clearer places.

- Remove superfluous NULL checks.

- Get rid of the bogus drv_status change to CONNECTED at close;
  this doesn't make any sense.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/x86/intel_hdmi_audio.c