aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorRyan Mallon <[email protected]>2011-10-04 09:55:40 +1100
committerMark Brown <[email protected]>2011-10-04 12:03:35 +0100
commit8754f2263fb0961c6dd26b4b4cbe73a4e632aa62 (patch)
treea6d4bc7bf396c0e5623d702d134c79855fa3f7a6 /tools/perf/scripts/python/bin
parent81204c84ca46604a04ab3d43ccfa1e464e6b1303 (diff)
ASoC: max98088 codec: Catch driver bugs for eq channel name
Move the EQ channel names to a separate array and iterate over it in max98088_get_channel rather than duplicating the hardcoded channel names. Add an error message if an invalid channel is passed and check the error in the callers. Also added a BUILD_BUG_ON to ensure that the eq_mode_name and controls arrays are the same size. Signed-off-by: Ryan Mallon <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions