]> 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)
commita018f7b8e74c73bd9a7749a214ca81aeedf4ebce
treed8780d33b41b1c264e3287e248aad9c36eace97b
parent85952949480abdf5f32fdbfb150edbc717252721
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