]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: designware-pci: Group AMD NAVI quirk parts together
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 29 Sep 2022 09:42:14 +0000 (12:42 +0300)
committerWolfram Sang <wsa@kernel.org>
Sat, 1 Oct 2022 22:42:55 +0000 (00:42 +0200)
commit11428cb7c5522a80f2a26f361ec3c4342f3ec304
tree741f5124271fabcf21cbf2b6868356ac6942fa34
parent2b9e7bb1f5a7b98a4e281ff05ad57396e15e5f6b
i2c: designware-pci: Group AMD NAVI quirk parts together

The code is ogranized in a way that all related parts
to the certain platform quirk go together. This is not
the case for AMD NAVI. Shuffle code to make it happen.

While at it, drop the frequency definition and use
hard coded value as it's done for other platforms and
add a comment to the PCI ID list.

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