aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/macro_checker.py
diff options
context:
space:
mode:
authorCharles Keepax <[email protected]>2025-03-19 17:51:23 +0000
committerMark Brown <[email protected]>2025-03-19 17:56:36 +0000
commit502a668fad12b6ca10bcbb615d62e61d3b669c99 (patch)
tree3f0aaafa1dadea945c6be9e37336a6eea9bb3481 /scripts/macro_checker.py
parentASoC: ops: Remove some unnecessary local variables (diff)
downloadkernel-502a668fad12b6ca10bcbb615d62e61d3b669c99.tar.gz
kernel-502a668fad12b6ca10bcbb615d62e61d3b669c99.zip
ASoC: ops: Apply platform_max after deciding control type
It doesn't really make sense for the type of a control to change based on the platform_max field. platform_max allows a specific system to limit values of a control for safety but it seems reasonable the control type should remain the same between different systems, even if it is restricted down to just two values. Move the application of platform_max to after control type determination in soc_info_volsw(). Signed-off-by: Charles Keepax <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/macro_checker.py')
0 files changed, 0 insertions, 0 deletions