Re: [PATCH 2/2] serdev: Add minimal bus locking API

From: Rob Herring
Date: Wed Mar 15 2017 - 10:27:12 EST


On Tue, Mar 14, 2017 at 8:48 AM, Andrey Smirnov
<andrew.smirnov@xxxxxxxxx> wrote:
> Add minimal bus locking API which is useful for serial devices that
> implement request-reply protocol

It's assumed that there's a single client, so I think the client
drivers should manage any locking they need. Maybe that changes if we
have multiple slave devices using RS-485.

Rob