[PATCH] drivers/misc: Aspeed LPC snoop output using misc chardev
gregkh at linuxfoundation.org
Mon Jul 9 17:52:33 AEST 2018
On Fri, Jul 06, 2018 at 11:25:32AM -0700, Benjamin Fair wrote:
> From: Robert Lippert <rlippert at google.com>
> Provides the data bytes snooped over the LPC snoop bus to userspace
> as a (blocking) misc character device.
If this is a debugging thing, why not just use debugfs instead of a char
device? That should make this code simpler overall, and you can do
whatever you want with debugfs.
More information about the Linux-aspeed