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)
commit73997b050c995f34f3617d344f1e767d15b2477d
treed8780d33b41b1c264e3287e248aad9c36eace97b
parent44684f61b23c68786834dd2a99d4a68d40a13308
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