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

Markus Pargmann mpa at pengutronix.de
Fri Nov 22 11:42:04 EST 2013


Hi,

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?

Regards,

Markus

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the linux-arm-kernel mailing list