On 6/3/2020 12:20 PM, Jim Quinlan wrote: > From: Jim Quinlan <jquin...@broadcom.com> > > A reset controller "rescal" is shared between the AHCI driver and the PCIe > driver for the BrcmSTB 7216 chip. The code is modified to allow this > sharing and to deassert() properly. > > Signed-off-by: Jim Quinlan <jquin...@broadcom.com> > > Fixes: 272ecd60a636 ("ata: ahci_brcm: BCM7216 reset is self de-asserting") > Fixes: c345ec6a50e9 ("ata: ahci_brcm: Support BCM7216 reset controller > name") > --- [snip] > @@ -479,10 +478,7 @@ static int brcm_ahci_probe(struct platform_device *pdev) > break; > } > > - if (priv->version == BRCM_SATA_BCM7216) > - ret = reset_control_reset(priv->rcdev); > - else > - ret = reset_control_deassert(priv->rcdev); > + ret = reset_control_deassert(priv->rcdev); > if (ret) > return ret; Do we need a similar change for brcm_ahci_resume()? -- Florian
- [PATCH v3 11/13] PCI: brcmstb: Accommodate MSI for older ... Jim Quinlan
- Re: [PATCH v3 11/13] PCI: brcmstb: Accommodate MSI f... Florian Fainelli
- [PATCH v3 05/13] PCI: brcmstb: Add suspend and resume pm_... Jim Quinlan
- Re: [PATCH v3 05/13] PCI: brcmstb: Add suspend and r... Bjorn Helgaas
- [PATCH v3 07/13] PCI: brcmstb: Add control of rescal rese... Jim Quinlan
- Re: [PATCH v3 07/13] PCI: brcmstb: Add control of re... Florian Fainelli
- [PATCH v3 04/13] PCI: brcmstb: Add bcm7278 reigister info Jim Quinlan
- Re: [PATCH v3 04/13] PCI: brcmstb: Add bcm7278 reigi... Florian Fainelli
- [PATCH v3 03/13] dt-bindings: PCI: Add bindings for more ... Jim Quinlan
- [PATCH v3 02/13] ata: ahci_brcm: Fix use of BCM7216 reset... Jim Quinlan
- Re: [PATCH v3 02/13] ata: ahci_brcm: Fix use of BCM7... Florian Fainelli
- [PATCH v3 13/13] PCI: brcmstb: Add bcm7211, bcm7216, bcm7... Jim Quinlan
- Re: [PATCH v3 13/13] PCI: brcmstb: Add bcm7211, bcm7... Florian Fainelli
- [PATCH v3 12/13] PCI: brcmstb: Set bus max burst size by ... Jim Quinlan
- Re: [PATCH v3 12/13] PCI: brcmstb: Set bus max burst... Florian Fainelli