]> Git Repo - linux.git/commit
i2c: ocores: refactor setup for polling
authorWolfram Sang <[email protected]>
Wed, 3 Apr 2019 12:40:15 +0000 (14:40 +0200)
committerWolfram Sang <[email protected]>
Tue, 16 Apr 2019 11:08:14 +0000 (13:08 +0200)
commitdd7dbf0eb090947f521387a9b39e963334af5e38
treec8b6f036cc42f6525d79d1cfe3691e5464e3ef9f
parent08960b022fb6cf1f866be76388c0bed9adab25c1
i2c: ocores: refactor setup for polling

By properly setting up the algorithm at probe time, we can skip the
check at every transfer. This allows us to get rid of the flags
completely.

Signed-off-by: Wolfram Sang <[email protected]>
Cc: Andrew Lunn <[email protected]>
Acked-by: Peter Korsgaard <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
drivers/i2c/busses/i2c-ocores.c
This page took 0.059257 seconds and 4 git commands to generate.