diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2025-04-30 10:41:24 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2025-04-30 11:38:26 +0200 |
commit | de1eb3bd211d90b2ed2b0ffaedfa9a9c6be46a79 (patch) | |
tree | 95bb6855f9bb79a5e4443c7e08938e48828f8712 | |
parent | f64a781031115bcc86a9c14d6627328f153c7e2e (diff) | |
download | meta-freescale-de1eb3bd211d90b2ed2b0ffaedfa9a9c6be46a79.tar.gz |
alsa-lib: patch: change to unix line endings
Run dos2unix on 0007-add-conf-for-imx-cs42448-sound-card.patch to
prepare the patch for refreshing.
Otherwise the 'real' changes in done by devtool are hard to spot.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r-- | recipes-multimedia/alsa/alsa-lib/0007-add-conf-for-imx-cs42448-sound-card.patch | 214 |
1 files changed, 107 insertions, 107 deletions
diff --git a/recipes-multimedia/alsa/alsa-lib/0007-add-conf-for-imx-cs42448-sound-card.patch b/recipes-multimedia/alsa/alsa-lib/0007-add-conf-for-imx-cs42448-sound-card.patch index 64e15be4..51d1ad87 100644 --- a/recipes-multimedia/alsa/alsa-lib/0007-add-conf-for-imx-cs42448-sound-card.patch +++ b/recipes-multimedia/alsa/alsa-lib/0007-add-conf-for-imx-cs42448-sound-card.patch | |||
@@ -1,107 +1,107 @@ | |||
1 | From 97d5e09a4166b45c567026e51b8a25ef5d7d587d Mon Sep 17 00:00:00 2001 | 1 | From 97d5e09a4166b45c567026e51b8a25ef5d7d587d Mon Sep 17 00:00:00 2001 |
2 | From: Chancel Liu <chancel.liu@nxp.com> | 2 | From: Chancel Liu <chancel.liu@nxp.com> |
3 | Date: Fri, 29 Jul 2022 16:12:37 +0800 | 3 | Date: Fri, 29 Jul 2022 16:12:37 +0800 |
4 | Subject: [PATCH] add conf for imx-cs42448 sound card | 4 | Subject: [PATCH] add conf for imx-cs42448 sound card |
5 | 5 | ||
6 | Upstream-Status: Inappropriate [i.MX specific] | 6 | Upstream-Status: Inappropriate [i.MX specific] |
7 | 7 | ||
8 | Signed-off-by: Chancel Liu <chancel.liu@nxp.com> | 8 | Signed-off-by: Chancel Liu <chancel.liu@nxp.com> |
9 | --- | 9 | --- |
10 | src/conf/cards/CS42448.conf | 58 +++++++++++++++++++++++++++++++++++++ | 10 | src/conf/cards/CS42448.conf | 58 +++++++++++++++++++++++++++++++++++++ |
11 | src/conf/cards/Makefile.am | 3 +- | 11 | src/conf/cards/Makefile.am | 3 +- |
12 | src/conf/cards/aliases.conf | 1 + | 12 | src/conf/cards/aliases.conf | 1 + |
13 | 3 files changed, 61 insertions(+), 1 deletion(-) | 13 | 3 files changed, 61 insertions(+), 1 deletion(-) |
14 | create mode 100644 src/conf/cards/CS42448.conf | 14 | create mode 100644 src/conf/cards/CS42448.conf |
15 | 15 | ||
16 | diff --git a/src/conf/cards/CS42448.conf b/src/conf/cards/CS42448.conf | 16 | diff --git a/src/conf/cards/CS42448.conf b/src/conf/cards/CS42448.conf |
17 | new file mode 100644 | 17 | new file mode 100644 |
18 | index 00000000..28ba5c48 | 18 | index 00000000..28ba5c48 |
19 | --- /dev/null | 19 | --- /dev/null |
20 | +++ b/src/conf/cards/CS42448.conf | 20 | +++ b/src/conf/cards/CS42448.conf |
21 | @@ -0,0 +1,58 @@ | 21 | @@ -0,0 +1,58 @@ |
22 | +# | 22 | +# |
23 | +# Configuration for the CS42448 chip | 23 | +# Configuration for the CS42448 chip |
24 | +# | 24 | +# |
25 | + | 25 | + |
26 | +# default with dmix & dsnoop | 26 | +# default with dmix & dsnoop |
27 | +CS42448.pcm.default { | 27 | +CS42448.pcm.default { |
28 | + @args [ CARD ] | 28 | + @args [ CARD ] |
29 | + @args.CARD { | 29 | + @args.CARD { |
30 | + type string | 30 | + type string |
31 | + } | 31 | + } |
32 | + type asym | 32 | + type asym |
33 | + playback.pcm { | 33 | + playback.pcm { |
34 | + type plug | 34 | + type plug |
35 | + slave.pcm { | 35 | + slave.pcm { |
36 | + @func concat | 36 | + @func concat |
37 | + strings [ "dmix:" $CARD ",FORMAT=S32_LE" ] | 37 | + strings [ "dmix:" $CARD ",FORMAT=S32_LE" ] |
38 | + } | 38 | + } |
39 | + } | 39 | + } |
40 | + capture.pcm { | 40 | + capture.pcm { |
41 | + type plug | 41 | + type plug |
42 | + slave.pcm { | 42 | + slave.pcm { |
43 | + @func concat | 43 | + @func concat |
44 | + strings [ "dsnoop:" $CARD ",FORMAT=S32_LE" ] | 44 | + strings [ "dsnoop:" $CARD ",FORMAT=S32_LE" ] |
45 | + } | 45 | + } |
46 | + } | 46 | + } |
47 | +} | 47 | +} |
48 | + | 48 | + |
49 | +<confdir:pcm/surround51.conf> | 49 | +<confdir:pcm/surround51.conf> |
50 | + | 50 | + |
51 | +CS42448.pcm.surround51.0 { | 51 | +CS42448.pcm.surround51.0 { |
52 | + @args [ CARD ] | 52 | + @args [ CARD ] |
53 | + @args.CARD { | 53 | + @args.CARD { |
54 | + type string | 54 | + type string |
55 | + } | 55 | + } |
56 | + type plug | 56 | + type plug |
57 | + slave.pcm { | 57 | + slave.pcm { |
58 | + type hw | 58 | + type hw |
59 | + card $CARD | 59 | + card $CARD |
60 | + } | 60 | + } |
61 | + slave.channels 6 | 61 | + slave.channels 6 |
62 | +} | 62 | +} |
63 | + | 63 | + |
64 | +<confdir:pcm/surround71.conf> | 64 | +<confdir:pcm/surround71.conf> |
65 | + | 65 | + |
66 | +CS42448.pcm.surround71.0 { | 66 | +CS42448.pcm.surround71.0 { |
67 | + @args [ CARD ] | 67 | + @args [ CARD ] |
68 | + @args.CARD { | 68 | + @args.CARD { |
69 | + type string | 69 | + type string |
70 | + } | 70 | + } |
71 | + type plug | 71 | + type plug |
72 | + slave.pcm { | 72 | + slave.pcm { |
73 | + type hw | 73 | + type hw |
74 | + card $CARD | 74 | + card $CARD |
75 | + } | 75 | + } |
76 | + slave.channels 8 | 76 | + slave.channels 8 |
77 | +} | 77 | +} |
78 | + | 78 | + |
79 | +# vim: ft=alsaconf | 79 | +# vim: ft=alsaconf |
80 | diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am | 80 | diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am |
81 | index 70b9bab3..6aba20b4 100644 | 81 | index 70b9bab3..6aba20b4 100644 |
82 | --- a/src/conf/cards/Makefile.am | 82 | --- a/src/conf/cards/Makefile.am |
83 | +++ b/src/conf/cards/Makefile.am | 83 | +++ b/src/conf/cards/Makefile.am |
84 | @@ -62,7 +62,8 @@ cfg_files = aliases.conf \ | 84 | @@ -62,7 +62,8 @@ cfg_files = aliases.conf \ |
85 | CS42888.conf \ | 85 | CS42888.conf \ |
86 | IMX-HDMI.conf \ | 86 | IMX-HDMI.conf \ |
87 | AK4458.conf \ | 87 | AK4458.conf \ |
88 | - IMX-XCVR.conf | 88 | - IMX-XCVR.conf |
89 | + IMX-XCVR.conf \ | 89 | + IMX-XCVR.conf \ |
90 | + CS42448.conf | 90 | + CS42448.conf |
91 | 91 | ||
92 | if BUILD_ALISP | 92 | if BUILD_ALISP |
93 | cfg_files += aliases.alisp | 93 | cfg_files += aliases.alisp |
94 | diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf | 94 | diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf |
95 | index e824145d..a40d3731 100644 | 95 | index e824145d..a40d3731 100644 |
96 | --- a/src/conf/cards/aliases.conf | 96 | --- a/src/conf/cards/aliases.conf |
97 | +++ b/src/conf/cards/aliases.conf | 97 | +++ b/src/conf/cards/aliases.conf |
98 | @@ -61,6 +61,7 @@ imx-cs42888 cards.CS42888 | 98 | @@ -61,6 +61,7 @@ imx-cs42888 cards.CS42888 |
99 | imx-hdmi-soc cards.IMX-HDMI | 99 | imx-hdmi-soc cards.IMX-HDMI |
100 | ak4458-audio cards.AK4458 | 100 | ak4458-audio cards.AK4458 |
101 | imx-audio-xcvr cards.IMX-XCVR | 101 | imx-audio-xcvr cards.IMX-XCVR |
102 | +imx-cs42448 cards.CS42448 | 102 | +imx-cs42448 cards.CS42448 |
103 | 103 | ||
104 | <confdir:ctl/default.conf> | 104 | <confdir:ctl/default.conf> |
105 | <confdir:pcm/default.conf> | 105 | <confdir:pcm/default.conf> |
106 | -- | 106 | -- |
107 | 2.17.1 | 107 | 2.17.1 |