i2c: designware: Some broken DSTDs use 1MiHz instead of 1MHz
authorHans de Goede <hdegoede@redhat.com>
Thu, 13 Jul 2017 13:45:02 +0000 (15:45 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 31 Jul 2017 13:55:41 +0000 (15:55 +0200)
commit682c6c2188f39d13548ccdc89c9888fbcb547889
treed7ca86dcee41cc77ea1fef0e7a484f432b1b7843
parent22acc37b8681461707a3fc73505af808f9af8260
i2c: designware: Some broken DSTDs use 1MiHz instead of 1MHz

At least the Acer Iconia Tab8 / aka W1-810 uses 1MiHz instead of
1MHz for one of its busses, fix this up to 1MHz instead of failing
the probe of that bus.

This fixes the accelerometer on the Acer Iconia Tab8 not working.

Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-designware-platdrv.c