linux/arch/arm
Tomi Valkeinen ca2e16faa7 OMAP: board-files: fix i2c_bus for tfp410
The i2c handling in tfp410 driver, which handles converting parallel RGB
to DVI, was changed in 958f2717b8
(OMAPDSS: TFP410: pdata rewrite). The patch changed what value the
driver considers as invalid/undefined.  Before the patch, 0 was the
invalid value, but as 0 is a valid bus number, the patch changed this to
-1.

However, the fact was missed that many board files do not define the bus
number at all, thus it's left to 0. This causes the driver to fail to
get the i2c bus, exiting from the driver's probe with an error, meaning
that the DVI output does not work for those boards.

This patch fixes the issue by changing the i2c_bus number field in the
driver's platform data from u16 to int, and setting the bus number to -1
in the board files for the boards that did not define the bus. The
exception is devkit8000, for which the bus is set to 1, which is the
correct bus for that board.

The bug exists in v3.5+ kernels.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reported-by: Thomas Weber <thomas@tomweber.eu>
Cc: Thomas Weber <thomas@tomweber.eu>
Cc: <stable@vger.kernel.org> # v3.5+
Signed-off-by: Tony Lindgren <tony@atomide.com>
2012-12-14 11:10:59 -08:00
..
boot ARM: arm-soc: multiplatform conversion patches 2012-12-13 10:57:16 -08:00
common Merge branch 'devel-stable' into for-linus 2012-12-11 10:01:53 +00:00
configs ARM: arm-soc: device tree conversions and enablement 2012-12-13 10:39:26 -08:00
crypto
include ARM: arm-soc: multiplatform conversion patches 2012-12-13 10:57:16 -08:00
kernel Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal 2012-12-12 12:22:13 -08:00
lib
mach-at91 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2012-12-12 18:07:07 -08:00
mach-bcm Add support for generic BCM SoC chipsets 2012-11-19 22:39:07 -08:00
mach-bcm2835 ARM: arm-soc: SoC updates for 3.8 2012-12-12 12:05:15 -08:00
mach-clps711x ARM: clps711x: Rename board files to match functionality 2012-11-21 09:57:46 -08:00
mach-cns3xxx ARM: arm-soc: Non-critical bug fixes 2012-12-12 11:32:16 -08:00
mach-davinci ARM: arm-soc: device tree conversions and enablement 2012-12-13 10:39:26 -08:00
mach-dove Dove: Fix irq_to_pmu() 2012-11-21 18:28:25 +00:00
mach-ebsa110
mach-ep93xx
mach-exynos ARM: arm-soc: power management and clock changes 2012-12-13 10:58:20 -08:00
mach-footbridge
mach-gemini
mach-h720x
mach-highbank Merge branch 'next/cam-samsung' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into next/soc 2012-11-30 09:27:57 -08:00
mach-imx ARM: arm-soc: device tree conversions and enablement 2012-12-13 10:39:26 -08:00
mach-integrator ARM: arm-soc: SoC updates for 3.8 2012-12-12 12:05:15 -08:00
mach-iop13xx
mach-iop32x
mach-iop33x
mach-ixp4xx Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2012-12-12 11:30:02 -08:00
mach-kirkwood ARM: arm-soc: device tree conversions and enablement 2012-12-13 10:39:26 -08:00
mach-ks8695
mach-l7200/include/mach
mach-lpc32xx
mach-mmp ARM: mmp: select pinctrl driver 2012-11-21 13:18:04 +08:00
mach-msm
mach-mv78xx0
mach-mvebu
mach-mxs ARM: mxs: Add SchulerControl SPS1 DTS file 2012-11-20 22:09:05 +08:00
mach-netx
mach-nomadik
mach-omap1 ARM: arm-soc: power management and clock changes 2012-12-13 10:58:20 -08:00
mach-omap2 OMAP: board-files: fix i2c_bus for tfp410 2012-12-14 11:10:59 -08:00
mach-orion5x arm: orion5x: convert 'LaCie Ethernet Disk mini v2' to Device Tree 2012-11-21 21:00:51 +00:00
mach-picoxcell
mach-prima2
mach-pxa ARM: arm-soc: Cleanups on various subarchitectures 2012-12-12 11:51:39 -08:00
mach-realview ARM: 7594/1: Add .smp entry for REALVIEW_EB 2012-12-11 00:19:30 +00:00
mach-rpc
mach-s3c24xx ARM: arm-soc: SoC updates for 3.8 2012-12-12 12:05:15 -08:00
mach-s3c64xx ARM: arm-soc: Board updates for 3.8 2012-12-12 12:14:06 -08:00
mach-s3c2410
mach-s3c2412
mach-s3c2440
mach-s5p64x0 ARM: samsung: remove obsoleted init_consistent_dma_size() 2012-11-13 10:13:12 +01:00
mach-s5pc100
mach-s5pv210 Merge branch 'next/cleanup-samsung-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into next/cleanup 2012-11-21 10:10:37 -08:00
mach-sa1100 ARM: move serial_sa1100.h header file to linux/platform_data 2012-11-16 11:35:29 +00:00
mach-shark
mach-shmobile ARM: arm-soc: Board updates for 3.8 2012-12-12 12:14:06 -08:00
mach-socfpga
mach-spear3xx
mach-spear6xx
mach-spear13xx
mach-sunxi ARM: sunxi: add missing include for mdelay() 2012-11-30 09:56:33 -08:00
mach-tegra ARM: arm-soc: multiplatform conversion patches 2012-12-13 10:57:16 -08:00
mach-u300 ARM: arm-soc: Cleanups on various subarchitectures 2012-12-12 11:51:39 -08:00
mach-ux500 ARM: arm-soc: driver specific changes 2012-12-13 10:59:11 -08:00
mach-versatile
mach-vexpress ARM: arm-soc: driver specific changes 2012-12-13 10:59:11 -08:00
mach-vt8500 ARM: arm-soc: multiplatform conversion patches 2012-12-13 10:57:16 -08:00
mach-w90x900
mach-zynq ARM: zynq: Remove all unused mach headers 2012-11-21 10:52:21 +01:00
mm ARM: arm-soc: SoC updates for 3.8 2012-12-12 12:05:15 -08:00
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2012-12-12 18:07:07 -08:00
nwfpe
oprofile
plat-iop
plat-mxc/devices ARM : i.MX27 : split code for allocation of ressources of camera and eMMA 2012-11-16 16:21:48 +01:00
plat-omap ARM: arm-soc: power management and clock changes 2012-12-13 10:58:20 -08:00
plat-orion ARM: Kirkwood: Make use of mvebu pincltl and gpio drivers 2012-11-24 02:57:35 +00:00
plat-pxa ARM: pxa: remove pxa95x support 2012-11-15 13:50:13 +01:00
plat-s3c24xx ARM: S3C24XX: Fix potential NULL pointer dereference error 2012-11-22 00:11:09 +09:00
plat-samsung ARM: arm-soc: driver specific changes 2012-12-13 10:59:11 -08:00
plat-spear gpio: SPEAr: add spi chipselect control driver 2012-11-18 00:01:27 +01:00
plat-versatile ARM: arm-soc: SoC updates for 3.8 2012-12-12 12:05:15 -08:00
tools ARM: boot: Fix usage of kecho 2012-11-12 23:22:54 +01:00
vfp
xen
Kconfig ARM: arm-soc: multiplatform conversion patches 2012-12-13 10:57:16 -08:00
Kconfig-nommu
Kconfig.debug ARM: arm-soc: multiplatform conversion patches 2012-12-13 10:57:16 -08:00
Makefile ARM: arm-soc: multiplatform conversion patches 2012-12-13 10:57:16 -08:00