]> Git Repo - linux.git/commit - sound/pci/hda/hda_codec.c
ALSA: hda - Add power on/off counter
authorTakashi Iwai <[email protected]>
Wed, 11 Nov 2009 08:34:25 +0000 (09:34 +0100)
committerTakashi Iwai <[email protected]>
Wed, 11 Nov 2009 08:37:08 +0000 (09:37 +0100)
commita2f6309e8392e2c14c04594fca8b4876c8c9bc36
tree78db71701660196181768b898bcc80db8bc10009
parent8f217a226cfa7b960b8a6c00cef6b4de2c5dd030
ALSA: hda - Add power on/off counter

Added the power on/off counter and expose via sysfs files.
The sysfs files, power_on_acct and power_off_acct, are created under
each codec hwdep sysfs directory (e.g. /sys/class/sound/hwC0D0).
The files show the msec length of the codec power-on and power-off,
respectively.

Signed-off-by: Takashi Iwai <[email protected]>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.h
sound/pci/hda/hda_hwdep.c
sound/pci/hda/hda_local.h
This page took 0.053526 seconds and 4 git commands to generate.