ALSA: usb-audio: correct the value cache check.
authorYao-Wen Mao <yaowen@google.com>
Fri, 28 Aug 2015 08:33:25 +0000 (16:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 17:26:01 +0000 (19:26 +0200)
commitae7d175f7d461643dd6eface450704c4076cfc0d
tree33908cf0bdb576f673f7b9546956c5ef46202e5d
parent37e7e6bf19f75255444a6a53d90a16d8c5e5a471
ALSA: usb-audio: correct the value cache check.

commit 6aa6925cad06159dc6e25857991bbc4960821242 upstream.

The check of cval->cached should be zero-based (including master channel).

Signed-off-by: Yao-Wen Mao <yaowen@google.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/usb/mixer.c