[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <443785f5-323e-e36f-7a10-12d03140e6b0@linux.intel.com>
Date: Thu, 23 Dec 2021 16:29:56 +0200
From: Jarkko Nikula <jarkko.nikula@...ux.intel.com>
To: Jan Dabros <jsd@...ihalf.com>, linux-kernel@...r.kernel.org,
linux-i2c@...r.kernel.org
Cc: andriy.shevchenko@...ux.intel.com, mika.westerberg@...ux.intel.com,
wsa@...nel.org, rrangel@...omium.org, mw@...ihalf.com,
jaz@...ihalf.com, upstream@...ihalf.com
Subject: Re: [RFC 1/2] i2c: designware: Add missing locks
On 12/22/21 11:45, Jan Dabros wrote:
> All accesses to controller's registers should be protected on
> probe, disable and xfer paths. This is needed for i2c bus controllers
> that are shared with but not controlled by kernel.
>
> Signed-off-by: Jan Dabros <jsd@...ihalf.com>
> ---
> drivers/i2c/busses/i2c-designware-common.c | 12 ++++++++++++
> drivers/i2c/busses/i2c-designware-master.c | 6 ++++++
> 2 files changed, 18 insertions(+)
>
Acked-by: Jarkko Nikula <jarkko.nikula@...ux.intel.com>
Powered by blists - more mailing lists