Commit 44a4b0e
committed
ASoC: mediatek: mt8192 probe cleanup
Cássio Gabriel <cassiogabrielcontato@gmail.com> says:
Fix two MT8192 AFE probe cleanup issues that mirror the recently fixed
MT8189 and MT8196 paths.
The first patch registers a devm cleanup action for a successful
reserved-memory assignment so later probe failures and driver unbind
release it.
The second patch checks the temporary runtime resume used while
reinitializing the regmap cache and makes the regcache failure path drop
the PM reference and clear pm_runtime_bypass_reg_ctl.
Link: https://patch.msgid.link/20260527-asoc-mt8192-probe-cleanup-v1-0-1bb834d05b72@gmail.com1 file changed
Lines changed: 17 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2155 | 2155 | | |
2156 | 2156 | | |
2157 | 2157 | | |
| 2158 | + | |
| 2159 | + | |
| 2160 | + | |
| 2161 | + | |
| 2162 | + | |
2158 | 2163 | | |
2159 | 2164 | | |
2160 | 2165 | | |
| |||
2184 | 2189 | | |
2185 | 2190 | | |
2186 | 2191 | | |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
2187 | 2196 | | |
2188 | 2197 | | |
2189 | 2198 | | |
| |||
2218 | 2227 | | |
2219 | 2228 | | |
2220 | 2229 | | |
2221 | | - | |
| 2230 | + | |
| 2231 | + | |
| 2232 | + | |
| 2233 | + | |
| 2234 | + | |
2222 | 2235 | | |
2223 | 2236 | | |
2224 | | - | |
2225 | | - | |
2226 | | - | |
2227 | 2237 | | |
2228 | 2238 | | |
2229 | 2239 | | |
| 2240 | + | |
| 2241 | + | |
| 2242 | + | |
2230 | 2243 | | |
2231 | 2244 | | |
2232 | 2245 | | |
| |||
0 commit comments