Channel mapping on HDMI was incorrect for 4 and 8 channels.
Create a PCM device so alsa-lib will remap in user space.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
bindings.2 1
bindings.3 9
}
+
+pcm.cdnhdmi4ch {
+ type dshare
+ slave {
+ pcm "hw:3,0"
+ channels 4
+ }
+ ipc_key 5144458
+ bindings.0 0
+ bindings.1 2
+ bindings.2 1
+ bindings.3 3
+}
+
+pcm.cdnhdmi8ch {
+ type dshare
+ slave {
+ pcm "hw:3,0"
+ channels 8
+ }
+ ipc_key 5144458
+ bindings.0 0
+ bindings.1 4
+ bindings.2 1
+ bindings.3 5
+ bindings.4 2
+ bindings.5 6
+ bindings.6 3
+ bindings.7 7
+}