[RFC PATCH 2/2] serial/aspeed-vuart: Perform enable/disable on driver bind/unbind

Joel Stanley joel at jms.id.au
Fri Feb 12 15:39:47 AEDT 2016


On Thu, Feb 11, 2016 at 6:56 PM, Jeremy Kerr <jk at ozlabs.org> wrote:
> Rather than exposing an enable sysfs attribute, we can just set the
> VUART enabled bit when we bind to the device, and clear it on unbind.
>
> We don't want to do this on open/release, as the host may be using this
> bit to configure serial output modes, which is independent of whether
> the devices has been opened by BMC userspace.
>
> Signed-off-by: Jeremy Kerr <jk at ozlabs.org>

Applied, as discussed on IRC.

Cheers,

Joel


More information about the openbmc mailing list