aboutsummaryrefslogtreecommitdiffstats
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorSylwester Nawrocki <[email protected]>2012-01-27 05:51:21 +0000
committerKukjin Kim <[email protected]>2012-01-27 05:51:21 +0000
commit693cec9755e5198e0c291a4bfea6ebb1c7054550 (patch)
tree6fe5a4262cfbf3bf9535f392eb31b3acd765539e /lib/timerqueue.c
parentARM: EXYNOS: fix non-SMP builds for EXYNOS4 (diff)
downloadkernel-693cec9755e5198e0c291a4bfea6ebb1c7054550.tar.gz
kernel-693cec9755e5198e0c291a4bfea6ebb1c7054550.zip
ARM: SAMSUNG: Fix platform data setup for I2C adapter 0
The common static default_i2c_data structure gets bus_num set by each s3c_i2c?_set_platdata() call, except for s3c_i2c0_set_platdata(). Thus if for instance s3c_i2c1_set_platdata() is called prior to s3c_i2c0_set_platdata() the I2C0 controller has bus_num set to wrong value of 1, i.e. the one from previous set_platdata call. Fix this by also setting bus_num for I2C0. Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Kyungmin Park <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions