commit | 83eac4f99b4e6bc720418e247d01e7f6bf6e03c6 | [log] [tgz] |
---|---|---|
author | Soumya Managoli <smanag@codeaurora.org> | Tue Jul 23 17:50:08 2019 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Oct 15 21:11:38 2019 -0700 |
tree | 51733004a7646119d5ff159b11bd39dffb97ca05 | |
parent | 5e5e15d63b779ad34620ae592a6e61ab68856ca7 [diff] |
ASoC: Fix overflow error in routing driver The reg in soc_dapm_mux is 32-bit. The BE DAI ID passed as shift(to be operated on the reg) may be more than 31, which may cause overflow. Set reg field to SND_SOC_NOPM to avoid any DAPM operation while passing BE IDs in shift_l field and hence avoid overflow. Change-Id: Ibbbca04c61b7c56eb4c5a7485a4e93dc28a09709 Signed-off-by: Soumya Managoli <smanag@codeaurora.org>