OSDN Git Service

ASoC: Intel: Use readq to read 64 bit registers
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Thu, 7 May 2020 13:34:05 +0000 (09:34 -0400)
committerMark Brown <broonie@kernel.org>
Tue, 12 May 2020 13:20:30 +0000 (14:20 +0100)
commit6c47660e3c3acad9401f8fe1d288d4234f05549c
tree53b5af03fbb9267ced61d1eaa1fb77c741e373a7
parent6a5d6fd332624e4eee9a450bb3d18f761548822f
ASoC: Intel: Use readq to read 64 bit registers

In order to fix issue described in:
"ASoC: Intel: sst: ipc command timeout"
https://patchwork.kernel.org/patch/11482829/

use readq function, which is meant to read 64 bit values from registers.
On 32 bit platforms it falls back to two readl calls.

Reported-by: Brent Lu <brent.lu@intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Tested-by: Brent Lu <brent.lu@intel.com>
Acked-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20200507133405.32251-2-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/sst-dsp.c