Skip to content

Commit

Permalink
S195xDTS: rename sound card for components on the carrierboard
Browse files Browse the repository at this point in the history
For components that cannot be removed easily (e.g. on an external,
pluggable board), there's now one sound card, while all the removable
components have their own sound card.

Since one sound card can not probe, the card index in ALSA can
fluctuate. Therefore, card name shall be used instead of card index.

Since ALSA only takes the last word in the name (truncated to 31
characters), let's have a more meaningful name for the carrierboard
sound card.

Signed-off-by: Quentin Schulz <[email protected]>
  • Loading branch information
QSchulz authored and dasty committed Jun 2, 2021
1 parent e3265ce commit 881af34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
*/
sound-pcm {
compatible = "sue,stream195x-audio";
sue-card,name = "Multichannel Audio on i.MX8MM";
sue-card,name = "Carrierboard";

clocks = <&clk IMX8MM_AUDIO_PLL1_OUT>, <&clk IMX8MM_AUDIO_PLL2_OUT>;
clock-names = "pll8k", "pll11k";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
*/
sound-pcm {
compatible = "sue,stream195x-audio";
sue-card,name = "Multichannel Audio on i.MX8MM";
sue-card,name = "Carrierboard";

clocks = <&clk IMX8MM_AUDIO_PLL1_OUT>, <&clk IMX8MM_AUDIO_PLL2_OUT>;
clock-names = "pll8k", "pll11k";
Expand Down

0 comments on commit 881af34

Please sign in to comment.