]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
soundwire: cadence_master: log Slave status mask on errors
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Wed, 22 May 2019 19:47:27 +0000 (14:47 -0500)
committerVinod Koul <vkoul@kernel.org>
Mon, 27 May 2019 05:23:00 +0000 (10:53 +0530)
commita78b32d9c36bd25f96a1fe2e610712e119c86afb
tree7ccaf2f5a3e7f7b6bffaf1c33cba465f77c787ba
parenteb7df4c86e2802383ac69b3f4f4d88b0b503a986
soundwire: cadence_master: log Slave status mask on errors

The Slave status mask exposes 4 sticky bits. When the device loses
sync, the IP will report two status but the log will only show that
the device lost sync. The status mask has all the information needed
so let's report it instead.

Also change the resolution of the mask, using 64 bits is not needed
when you need 4.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/cadence_master.c