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

Commit b21bb6a0 authored by Jack Pham's avatar Jack Pham
Browse files

ARM: dts: msm: Update USB interrupt trigger types on Lahaina

Change "dp_hs_phy_irq" and "dm_hs_phy_irq" IRQ trigger types
to rising-edge instead of dual-edge in order to match with
what the driver is requesting. This avoids a error produced
when the driver is removed and reprobed as the kernel IRQ
subsystem will have updated the trigger type to the driver's
request type, and on the subsequent probe results in the
following errors when IRQ mapping is performed due to the
flags mismatch:

  [  885.423166] irq: type mismatch, failed to map hwirq-14 for interrupt-controller@b220000!
  [  885.439468] irq: type mismatch, failed to map hwirq-15 for interrupt-controller@b220000!

Change-Id: I9c8ac57691072a09276473b5a66f330e5bd94a8b
parent 5c07efb8
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -12,10 +12,10 @@
		ranges;
		dma-ranges;

		interrupts-extended = <&pdc 14 IRQ_TYPE_EDGE_BOTH>,
		interrupts-extended = <&pdc 14 IRQ_TYPE_EDGE_RISING>,
			     <&intc GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
			     <&pdc 17 IRQ_TYPE_LEVEL_HIGH>,
			     <&pdc 15 IRQ_TYPE_EDGE_BOTH>;
			     <&pdc 15 IRQ_TYPE_EDGE_RISING>;
		interrupt-names = "dp_hs_phy_irq", "pwr_event_irq",
				"ss_phy_irq", "dm_hs_phy_irq";
		qcom,use-pdc-interrupts;
@@ -105,10 +105,10 @@
		ranges;
		dma-ranges;

		interrupts-extended = <&pdc 12 IRQ_TYPE_EDGE_BOTH>,
		interrupts-extended = <&pdc 12 IRQ_TYPE_EDGE_RISING>,
			     <&intc GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
			     <&pdc 16 IRQ_TYPE_LEVEL_HIGH>,
			     <&pdc 13 IRQ_TYPE_EDGE_BOTH>;
			     <&pdc 13 IRQ_TYPE_EDGE_RISING>;
		interrupt-names = "dp_hs_phy_irq", "pwr_event_irq",
				"ss_phy_irq", "dm_hs_phy_irq";
		qcom,use-pdc-interrupts;