[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190211083122.32485-1-federico.vaga@cern.ch>
Date: Mon, 11 Feb 2019 09:31:17 +0100
From: Federico Vaga <federico.vaga@...n.ch>
To: Peter Korsgaard <peter@...sgaard.com>, Andrew Lunn <andrew@...n.ch>
CC: <linux-i2c@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH v4 0/5] i2c:ocores: improvements
This patch set provides improvements to the i2c-ocore driver.
[V3 -> V4]
- add reviews-by/tested-by
- add comment to justify the formula in
udelay((8 * 1000) / i2c->bus_clock_khz);
[V2 -> V3]
- fix particular error condition on platform_get_irq(). Copied from
https://patchwork.ozlabs.org/patch/1038409/
[V1 -> V2]
- replaced usleep_range() with udelay() so that the polling version can be
used in atomic context.
- added dedicated patch for minor style issues
- fixed delay computation
- use spin_lock_irqsave(), instead of spin_trylock_irqsave(). IACK is always
necessary and a trylock would generate an extra interrupt for nothing
- make the driver ready for an eventual master_xfer_irqless()
Powered by blists - more mailing lists