i2c: designware: Sort timing parameter ACPI method calls by the speed
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Wed, 20 Apr 2022 12:58:02 +0000 (15:58 +0300)
committerWolfram Sang <wsa@kernel.org>
Sat, 14 May 2022 13:43:54 +0000 (15:43 +0200)
commite17daa3b58ed8ba187475b4bb12ca21193596cb3
tree4724cdc1caf840625dbe65b9d7e640ec07dfc75c
parent6977262c2eee111645668fe9e235ef2f5694abf7
i2c: designware: Sort timing parameter ACPI method calls by the speed

It's more logical to read these get timing parameters ACPI method calls
sorted by speed categories in increasing order: Standard-mode,
Fast-mode, Fast-mode Plus and High-speed mode.

Originally these were in order after commit a92ec1746f10
("i2c: designware: get fast plus and high speed *CNT configuration") but
got mixed up over the years.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-designware-common.c