aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorRussell King <[email protected]>2019-02-28 15:30:40 +0000
committerMark Brown <[email protected]>2019-03-04 14:27:54 +0000
commitbbf62563d8622434c761cb96569c132467f88597 (patch)
treec412a89f2600be37aeefa678df1ff17150b3edee /tools/perf/util/c++/clang.cpp
parentba54f278c3186fe3f18bb1e2ceabae71473da9dc (diff)
ASoC: hdmi-codec: avoid limiting params->msbits in hw_params()
Limiting the value of the passed in params->msbits in the hw_params() callback is redundant on three counts: 1. We already specify in the DAI driver that we can only handle up to 24 bits. This means msbits will be limited to 24 via the ALSA constraints imposed by the ASoC core, unless we have multiple codecs that can handle more bits. 2. Nothing in our hw_params() implementation uses this value. 3. The copy of the params that we are passed by the ASoC core never reads back the msbits value. Consequently, this code is unnecessary and does nothing useful. Remove it. Signed-off-by: Russell King <[email protected]> Reviewed-by: Jyri Sarha <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions