From: Daniel Mack Date: Tue, 7 Oct 2014 12:33:46 +0000 (+0200) Subject: ASoC: soc-pcm: fix sig_bits determination in soc_pcm_apply_msb() X-Git-Tag: omap-for-v3.19/prcm-cleanup~125^2^2~2^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e63dfccf34d4dbf21429c4919f33c028ff49991;p=pandora-kernel.git ASoC: soc-pcm: fix sig_bits determination in soc_pcm_apply_msb() In the SNDRV_PCM_STREAM_CAPTURE branch in soc_pcm_apply_msb(), look at sig_bits of the capture stream, not the playback one. Spotted by coverity. Signed-off-by: Daniel Mack Signed-off-by: Mark Brown Cc: stable@vger.kernel.org --- Reading git-diff-tree failed