]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Aug 2017 20:46:51 +0000 (13:46 -0700)
commit1f2f0f1a75bda5776c5d5aba015fc9b3d1fd82cb
tree39022a8e5d475c21eed5b93ae0f86046f15ad930
parentcfea0422a154cd45de0ff1a8146d2e303647a5cf
i2c: designware: Some broken DSTDs use 1MiHz instead of 1MHz

commit 682c6c2188f39d13548ccdc89c9888fbcb547889 upstream.

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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/i2c/busses/i2c-designware-platdrv.c