Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eef6fcaa authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Tony Lindgren
Browse files

ARM/dts: omap3: Fix mcbsp2/3 hwmods to be able to probe the drivers for audio



Fixes the following errors:
[    2.318084] omap-mcbsp 49022000.mcbsp: invalid rx DMA channel
[    2.324432] omap-mcbsp 49024000.mcbsp: invalid rx DMA channel

Which is because we failed to link the sidetone hwmod for McBSP2/3. The
missing sidetone hwmod link will prevent omap_device_alloc() to append the
DMA resources since we - accidentally - end up having the same number of
resources provided from DT (IO/IRQ) as we have in hwmod for the McBSP ports
without the ST resources.

Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: default avatarBenoit Cousson <b-cousson@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 6f0c0580
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -257,7 +257,7 @@
			interrupt-names = "common", "tx", "rx", "sidetone";
			interrupt-parent = <&intc>;
			ti,buffer-size = <1280>;
			ti,hwmods = "mcbsp2";
			ti,hwmods = "mcbsp2", "mcbsp2_sidetone";
		};

		mcbsp3: mcbsp@49024000 {
@@ -272,7 +272,7 @@
			interrupt-names = "common", "tx", "rx", "sidetone";
			interrupt-parent = <&intc>;
			ti,buffer-size = <128>;
			ti,hwmods = "mcbsp3";
			ti,hwmods = "mcbsp3", "mcbsp3_sidetone";
		};

		mcbsp4: mcbsp@49026000 {