Commit 5519ac3
ASoC: wm_adsp: Add wm_adsp_start() and wm_adsp_stop()
Separate the functionality of wm_adsp_event() into two exported
functions wm_adsp_start() and wm_adsp_stop().
This allows the codec driver to start and stop the DSP outside of a
DAPM widget.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20240223153910.2063698-2-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>1 parent b401b62 commit 5519ac3
2 files changed
Lines changed: 20 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1092 | 1092 | | |
1093 | 1093 | | |
1094 | 1094 | | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
1095 | 1109 | | |
1096 | 1110 | | |
1097 | 1111 | | |
1098 | 1112 | | |
1099 | 1113 | | |
1100 | 1114 | | |
1101 | | - | |
1102 | 1115 | | |
1103 | 1116 | | |
1104 | 1117 | | |
1105 | | - | |
1106 | | - | |
1107 | | - | |
| 1118 | + | |
1108 | 1119 | | |
1109 | | - | |
1110 | | - | |
| 1120 | + | |
| 1121 | + | |
1111 | 1122 | | |
1112 | | - | |
| 1123 | + | |
1113 | 1124 | | |
1114 | | - | |
1115 | | - | |
1116 | 1125 | | |
1117 | 1126 | | |
1118 | 1127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
| |||
0 commit comments