[PATCH] PCI: keystone: Let AM65 use the pci_ops defined in pcie-designware-host.c

Krzysztof Wilczyński kw at linux.com
Fri Mar 19 04:45:58 GMT 2021


Hi Kishon,

Thank you for the fix!

[...]
> @@ -798,7 +798,8 @@ static int __init ks_pcie_host_init(struct pcie_port *pp)
>  	int ret;
>  
>  	pp->bridge->ops = &ks_pcie_ops;
> -	pp->bridge->child_ops = &ks_child_pcie_ops;
> +	if (!ks_pcie->is_am6)
> +		pp->bridge->child_ops = &ks_child_pcie_ops;
>  
>  	ret = ks_pcie_config_legacy_irq(ks_pcie);
>  	if (ret)
[...]

Reviewed-by: Krzysztof Wilczyński <kw at linux.com>

Krzysztof



More information about the linux-arm-kernel mailing list