]> err.no Git - linux-2.6/commit
[POWERPC] fsl_soc: fix uninitialized i2c_board_info structure
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Tue, 2 Oct 2007 13:47:40 +0000 (17:47 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 4 Oct 2007 20:47:23 +0000 (15:47 -0500)
commitda1bb3a0e1f7f9cabe70fb2c41b47fa57c42fdfd
treefca0a59724aba282128f5a0dec79630cf532306c
parent15f8c604a79c4840ed76eecf3af5d88b7c1dee9e
[POWERPC] fsl_soc: fix uninitialized i2c_board_info structure

i2c_board_info used semi-initialized, causing garbage in the
info->flags, and that, in turn, causes various symptoms of i2c
malfunctioning, like PEC mismatches.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/fsl_soc.c