[alsa-devel] [PATCH 2/8] ASoC: fsl-ssi: Move sysfs stats to debugfs

Mark Brown broonie at kernel.org
Fri Nov 22 19:33:56 CET 2013


On Fri, Nov 22, 2013 at 05:42:04PM +0100, Markus Pargmann wrote:
> On Thu, Nov 21, 2013 at 02:22:08PM +0000, Mark Brown wrote:
> > On Wed, Nov 20, 2013 at 10:04:16AM +0100, Markus Pargmann wrote:

> > > This patch moves the statistics to debugfs and disables interrupts
> > > completely if the kernel is build without DEBUG_FS enabled.

> > We can still see the error counts through /proc/interrupts even without
> > the debugfs file.

> The interrupts are visible without the debugfs file when enabled through
> SIER register. But it does not show the specific reason for the interrupts.

> I am not sure what you suggest. To remove the stats file completely and
> always disable interrupts?

No, I'm suggesting not disabling interrupts completely when debugfs is
disabled.  Since we can still see the interrupts happening even if
debugfs is not enabled we're still getting diagnostics.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20131122/02cdf897/attachment-0001.sig>


More information about the Alsa-devel mailing list