[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130713005702.GA14788@kroah.com>
Date: Fri, 12 Jul 2013 17:57:02 -0700
From: Greg KH <gregkh@...uxfoundation.org>
To: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Cc: arnd@...db.de, linux-kernel@...r.kernel.org,
linux-sh@...r.kernel.org
Subject: Re: [PATCH] misc: add driver for Renesas R-Car Gyro-ADC/speed-pulse
interfaces
On Sat, Jul 13, 2013 at 03:51:42AM +0400, Sergei Shtylyov wrote:
> Add the driver for Gyro-ADC/speed-pulse interfaces found in Renesas R-Car SoCs.
> Though being two separate devices, they have to be driven together because of
> the shared start/stop register (located in Gyro-ADC still). At this time, only
> speed-pulse interface is fully supported, the Gyro-ADC is just initialized and
> started/stopped synchronously with the speed-pulse interface. A user interface
> is implemented via several sysfs files which allow to read and reset the speed-
> pulse interface's registers.
If you modify/create/remove sysfs files, you also have to document them
in Documentation/ABI/ which is missing from this patch.
Your sysfs files are also being created in a "racy" way, i.e. after
userspace is told about the device, please fix that as well.
And are you sure you want to control this through sysfs? There's no
other better user/kernel apis for it?
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists