Linus, this is probably not the kind of pull request you want to see that late in the cycle. Yet, the ACPI refactorization was problematic again and caused another two issues which need fixing. My holidays with limited internet (plus travelling) and the developer's illness didn't help either :( The details: - ACPI code was refactored out into a seperate file and as a side-effect, the i2c-core module got renamed. Jean Delvare rightfully complained about the rename being problematic for distributions. So, Mika and I thought the least problematic way to deal with it is to move all the code back into the main i2c core source file. This is mainly a huge code move with some #ifdeffery applied. No functional code changes. Our personal tests and the testbots did not find problems. (I was thinking about reverting, too, yet that would also have ~800 lines changed) - The new ACPI code also had a NULL pointer exception, thanks to Peter for finding and fixing it. - Mikko fixed a locking problem by decoupling clock_prepare and clock_enable. - Addy learnt that the datasheet was wrong and reimplemented the frequency setup according to the new algorithm. - Fan fixed an off-by-one error when copying data - Janusz fixed a copy'n'paste bug which gave a wrong error message - Sergei made sure that "don't touch" bits are not accessed Please pull. Thanks, Wolfram The following changes since commit 9e82bf014195d6f0054982c463575cdce24292be: Linux 3.17-rc5 (2014-09-14 17:50:12 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-current for you to fetch changes up to 0aef44e84ad16cd87a88df78773fd81ecca34f11: i2c: acpi: Fix NULL Pointer dereference (2014-09-25 16:08:15 +0200) ---------------------------------------------------------------- Fan Du (1): i2c: ismt: use correct length when copy buffer Janusz Użycki (1): i2c: mxs: fix error message in pio transfer Mikko Perttunen (1): i2c: tegra: Move clk_prepare/clk_set_rate to probe Peter Hüwe (1): i2c: acpi: Fix NULL Pointer dereference Sergei Shtylyov (1): i2c: rcar: fix RCAR_IRQ_ACK_{RECV|SEND} Wolfram Sang (1): i2c: move acpi code back into the core addy ke (1): i2c: rk3x: fix divisor calculation for SCL frequency MAINTAINERS | 1 - drivers/i2c/Makefile | 5 +- drivers/i2c/busses/i2c-ismt.c | 4 +- drivers/i2c/busses/i2c-mxs.c | 2 +- drivers/i2c/busses/i2c-rcar.c | 4 +- drivers/i2c/busses/i2c-rk3x.c | 11 +- drivers/i2c/busses/i2c-tegra.c | 57 +++++-- drivers/i2c/i2c-acpi.c | 364 ----------------------------------------- drivers/i2c/i2c-core.c | 364 +++++++++++++++++++++++++++++++++++++++++ include/linux/i2c.h | 16 -- 10 files changed, 420 insertions(+), 408 deletions(-) delete mode 100644 drivers/i2c/i2c-acpi.c
Attachment:
signature.asc
Description: Digital signature