From: Takashi Iwai Date: Wed, 11 Nov 2009 08:34:25 +0000 (+0100) Subject: ALSA: hda - Add power on/off counter X-Git-Tag: v2.6.33-rc1~390^2^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2f6309e8392e2c14c04594fca8b4876c8c9bc36;p=pandora-kernel.git 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 --- Reading git-diff-tree failed