Message ID | 1466359691.30123.171.camel@linux.intel.com |
---|---|
State | Superseded |
Headers | show |
> - * On Intel Merrifield the i2c busses are enumerated [1..7]. So, > we add > - * 1 to shift the default range. Besides that the first PCI slot > - * provides 4 functions, that's why we have to add 0 to the head > slot > - * and 4 to the tail one. > + * On Intel Merrifield the user visible i2c busses are > enumerated > + * [1..7]. So, we add 1 to shift the default range. Besides that > the > + * first PCI slot provides 4 functions, that's why we have to > add 0 to > + * the fisrt slot and 4 to the next one. > */ > switch (PCI_SLOT(pdev->devfn)) { > case 8: > > Should I send a new patch or you can fold it? I already pushed out. Also, this patch has line break problems. So, send an incremental one.
--- a/drivers/i2c/busses/i2c-designware-pcidrv.c +++ b/drivers/i2c/busses/i2c-designware-pcidrv.c @@ -125,10 +125,10 @@ static int mfld_setup(struct pci_dev *pdev, struct dw_pci_controller *c) static int mrfld_setup(struct pci_dev *pdev, struct dw_pci_controller *c) { /* - * On Intel Merrifield the i2c busses are enumerated [1..7]. So, we add - * 1 to shift the default range. Besides that the first PCI slot - * provides 4 functions, that's why we have to add 0 to the head slot - * and 4 to the tail one. + * On Intel Merrifield the user visible i2c busses are enumerated + * [1..7]. So, we add 1 to shift the default range. Besides that