Re: [PATCH 3/6] i2c/pxa2xx: Add PCI support for PXA I2C controller

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

 



Florian Fainelli wrote:
diff --git a/drivers/i2c/busses/i2c-pxa-pci.c
b/drivers/i2c/busses/i2c-pxa-pci.c new file mode 100644
index 0000000..f7b74b9
--- /dev/null
+++ b/drivers/i2c/busses/i2c-pxa-pci.c
+
+/*
+ * the number of bars is hardcoded because pci_select_bars() reports the
+ * wrong thing.
+ */
+#define CE4100_PCI_I2C_DEVS	3

I am surprised of your comment about pci_select_bars, it works fine here on a CE4100 device, beware that it will report a bitmask of valid resources (7).

Changing it later would be quite simple anyway.

yep, my bad. I removed the comment and we can make it fully dynamic once
it is required.

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux