linux_pwm_out: refactor to run on a work queue and use mixer_module

This commit is contained in:
Beat Küng
2021-02-25 08:51:05 +01:00
committed by Daniel Agar
parent 439fb00aed
commit f0cc8a344b
12 changed files with 359 additions and 447 deletions
-1
View File
@@ -225,7 +225,6 @@ class Graph(object):
('tap_esc', r'.*', r'\b_control_topics\[[0-9]\]=([^,)]+)', r'^_control_topics\[i\]$'),
('snapdragon_pwm_out', r'.*', r'\b_controls_topics\[[0-9]\]=([^,)]+)', r'^_controls_topics\[i\]$'),
('linux_pwm_out', r'.*', r'\b_controls_topics\[[0-9]\]=([^,)]+)', r'^_controls_topics\[i\]$'),
]
special_cases_sub = [(a, re.compile(b), re.compile(c) if c is not None else None, re.compile(d))
for a,b,c,d in special_cases_sub]