Re: [PATCH v2 03/11] bcma: add functions to scan cores needed on SoCs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/7/16 Hauke Mehrtens <hauke@xxxxxxxxxx>:
> @@ -159,5 +159,8 @@ static void bcma_pcicore_serdes_workaround(struct bcma_drv_pci *pc)
>
>  void bcma_core_pci_init(struct bcma_drv_pci *pc)
>  {
> +       if (pc->setup_done)
> +               return;
>        bcma_pcicore_serdes_workaround(pc);
> +       pc->setup_done = true;
>  }

This won't apply to the upstream driver_pci.c. Fix is obvious for me
and you, but could be nice to don't bother John/Ralf.


> +       /* Scan for devices (cores) */
> +       err = bcma_bus_scan_early(bus, &match, core_cc);

Could you update the comment by the way?

-- 
Rafał



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux