diff options
author | Serge Semin <Sergey.Semin@baikalelectronics.ru> | 2020-05-28 12:33:19 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2020-05-30 23:03:06 +0200 |
commit | fac25d7aaa03c4b5e11c7b7c1e286f85d21e008a (patch) | |
tree | 1f475ad6ac77969fa72c43c19aa3cc1f4bcdf485 /LICENSES | |
parent | 0daede80f870025141cbb16e6a826d5e7f43f4a5 (diff) | |
download | linux-fac25d7aaa03c4b5e11c7b7c1e286f85d21e008a.tar.bz2 |
i2c: designware: Retrieve quirk flags as early as possible
Some platforms might need to activate the driver quirks at a very early
probe stage. For instance, Baikal-T1 System I2C doesn't need to map the
registers space as ones belong to the system controller. Instead it will
request the syscon regmap from the parental DT node. In order to be able
to do so let's retrieve the model flags right after the DW I2C private
data is created. While at it replace the or-assignment with just
assignment operator since or-ing is redundant at this stage.
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions