]> git.baikalelectronics.ru Git - kernel.git/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)
commitfa7e11c34586f0b3cd3ef4d5b7ddf38897efdc53
treefca0a59724aba282128f5a0dec79630cf532306c
parent519c32867a3280741e4c602f75171ce78a4a1c1b
[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