• Takashi Iwai's avatar
    ALSA: hda - Add power on/off counter · a2f6309e
    Takashi Iwai authored
    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: default avatarTakashi Iwai <tiwai@suse.de>
    a2f6309e
hda_codec.h 28.3 KB