ALSA: x86: Minor cleanup of reset buffer procedure
authorTakashi Iwai <tiwai@suse.de>
Sat, 4 Feb 2017 20:39:56 +0000 (21:39 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 5 Feb 2017 07:49:02 +0000 (08:49 +0100)
commitf4566aa112b86649b74f3d64c21ec2c8a84d5c1d
treef4ced3d03cd6a70e63f6752ea659494ec847c85c
parent83af57dd515cf06883f6e954dd0efa9b15b514a6
ALSA: x86: Minor cleanup of reset buffer procedure

The procedure to reset buffer pointers is performed in two places and
still open-coded.  Simplify the helper function and use it
consistently.

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