summaryrefslogtreecommitdiffstats
path: root/sound/last.c
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2020-10-13 15:42:40 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-10-16 17:35:36 +0200
commit7a57e9f112adebc9e5dc787c2a59dbc06ae5060d (patch)
treed91b5f49394fc6a1eb386b22ff917c16c70bc113 /sound/last.c
parent0b8417c14181595997091145342954332fa016cd (diff)
downloadlinux-7a57e9f112adebc9e5dc787c2a59dbc06ae5060d.tar.bz2
powercap/intel_rapl: Fix domain detection
As only the low 32 bits of the RAPL_DOMAIN_REG_STATUS register represents the energy counter, and the high 32 bits are reserved, detect the existence of a RAPL domain by checking the low 32 bits only. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'sound/last.c')
0 files changed, 0 insertions, 0 deletions