Repository navigation
Commit 45dd994
ASoC: core: remove artificial component and DAI name constraint
Current fmt_single_name code limits maximum name of a DAI or component
to 32 bytes. On some systems corresponding device names might be longer
than that (e.g.
17300000.remoteproc:glink-edge:apr:apr-service@8:routing). This will
result in duplicate DAI/component names. Rewrite fmt_single_name() to
remove such length limitations.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20200827205100.1479331-1-dmitry.baryshkov@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>1 parent 4b15c49 commit 45dd994
1 file changed
Lines changed: 15 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
| |||
2231 | 2229 | | |
2232 | 2230 | | |
2233 | 2231 | | |
2234 | | - | |
| 2232 | + | |
| 2233 | + | |
2235 | 2234 | | |
2236 | 2235 | | |
2237 | | - | |
| 2236 | + | |
2238 | 2237 | | |
2239 | 2238 | | |
2240 | | - | |
| 2239 | + | |
2241 | 2240 | | |
2242 | 2241 | | |
2243 | 2242 | | |
| |||
2250 | 2249 | | |
2251 | 2250 | | |
2252 | 2251 | | |
2253 | | - | |
2254 | | - | |
2255 | | - | |
2256 | | - | |
| 2252 | + | |
| 2253 | + | |
2257 | 2254 | | |
2258 | | - | |
2259 | | - | |
| 2255 | + | |
| 2256 | + | |
2260 | 2257 | | |
2261 | | - | |
2262 | | - | |
2263 | | - | |
2264 | | - | |
2265 | | - | |
2266 | | - | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
2267 | 2264 | | |
2268 | 2265 | | |
2269 | | - | |
| 2266 | + | |
2270 | 2267 | | |
2271 | 2268 | | |
2272 | 2269 | | |
| |||
0 commit comments