aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/ap.c
diff options
context:
space:
mode:
authorSameer Pujar <spujar@nvidia.com>2022-06-15 10:08:34 +0530
committerMark Brown <broonie@kernel.org>2022-06-15 09:24:38 +0100
commit4edf738d4c7989c315e37d4d61e34c94557b6ed2 (patch)
treeb9b3409c54eb1a6ad4daa412edf11ee5232710c9 /net/wireless/ap.c
parent5983a8a4a4dc13b5f192212a5e744eb303cd65c2 (diff)
downloadlinux-4edf738d4c7989c315e37d4d61e34c94557b6ed2.tar.gz
ASoC: tegra: Fix MBDRC bypass mode check
MBDRC supports different modes of operation. There is no configuration required for bypass mode. The hw_params() call does not filter bypass mode correctly and it leads to following Smatch static checker warning: sound/soc/tegra/tegra210_mbdrc.c:778 tegra210_mbdrc_hw_params() warn: bitwise AND condition is false here Fix this condition by using proper mode mask and just return for bypass mode. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Fixes: 7358a803c778 ("ASoC: tegra: Add Tegra210 based OPE driver") Signed-off-by: Sameer Pujar <spujar@nvidia.com> Link: https://lore.kernel.org/r/1655267914-24702-1-git-send-email-spujar@nvidia.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/wireless/ap.c')
0 files changed, 0 insertions, 0 deletions