commit | a2f6309e8392e2c14c04594fca8b4876c8c9bc36 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Nov 11 09:34:25 2009 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Wed Nov 11 09:37:08 2009 +0100 |
tree | 78db71701660196181768b898bcc80db8bc10009 | |
parent | 8f217a226cfa7b960b8a6c00cef6b4de2c5dd030 [diff] |
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 <tiwai@suse.de>