Skip to content

Commit 4634129

Browse files
committed
Merge tag 'soc-fixes-5.16-4' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull ARM SoC fixes from Olof Johansson: "A few more fixes have come in, nothing overly severe but would be good to get in by final release: - More specific compatible fields on the qspi controller for socfpga, to enable quirks in the driver - A runtime PM fix for Renesas to fix mismatched reference counts on errors" * tag 'soc-fixes-5.16-4' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: ARM: dts: socfpga: change qspi to "intel,socfpga-qspi" dt-bindings: spi: cadence-quadspi: document "intel,socfpga-qspi" reset: renesas: Fix Runtime PM usage
2 parents 21f35d2 + 8922bb6 commit 4634129

File tree

6 files changed

+11
-5
lines changed

6 files changed

+11
-5
lines changed

Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ properties:
2929
- ti,am654-ospi
3030
- intel,lgm-qspi
3131
- xlnx,versal-ospi-1.0
32+
- intel,socfpga-qspi
3233
- const: cdns,qspi-nor
3334
- const: cdns,qspi-nor
3435

arch/arm/boot/dts/socfpga.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@
782782
};
783783

784784
qspi: spi@ff705000 {
785-
compatible = "cdns,qspi-nor";
785+
compatible = "intel,socfpga-qspi", "cdns,qspi-nor";
786786
#address-cells = <1>;
787787
#size-cells = <0>;
788788
reg = <0xff705000 0x1000>,

arch/arm/boot/dts/socfpga_arria10.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@
756756
};
757757

758758
qspi: spi@ff809000 {
759-
compatible = "cdns,qspi-nor";
759+
compatible = "intel,socfpga-qspi", "cdns,qspi-nor";
760760
#address-cells = <1>;
761761
#size-cells = <0>;
762762
reg = <0xff809000 0x100>,

arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@
594594
};
595595

596596
qspi: spi@ff8d2000 {
597-
compatible = "cdns,qspi-nor";
597+
compatible = "intel,socfpga-qspi", "cdns,qspi-nor";
598598
#address-cells = <1>;
599599
#size-cells = <0>;
600600
reg = <0xff8d2000 0x100>,

arch/arm64/boot/dts/intel/socfpga_agilex.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@
628628
};
629629

630630
qspi: spi@ff8d2000 {
631-
compatible = "cdns,qspi-nor";
631+
compatible = "intel,socfpga-qspi", "cdns,qspi-nor";
632632
#address-cells = <1>;
633633
#size-cells = <0>;
634634
reg = <0xff8d2000 0x100>,

drivers/reset/reset-rzg2l-usbphy-ctrl.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,12 @@ static int rzg2l_usbphy_ctrl_probe(struct platform_device *pdev)
137137
dev_set_drvdata(dev, priv);
138138

139139
pm_runtime_enable(&pdev->dev);
140-
pm_runtime_resume_and_get(&pdev->dev);
140+
error = pm_runtime_resume_and_get(&pdev->dev);
141+
if (error < 0) {
142+
pm_runtime_disable(&pdev->dev);
143+
reset_control_assert(priv->rstc);
144+
return dev_err_probe(&pdev->dev, error, "pm_runtime_resume_and_get failed");
145+
}
141146

142147
/* put pll and phy into reset state */
143148
spin_lock_irqsave(&priv->lock, flags);

0 commit comments

Comments
 (0)