soundwire: cadence_master: add debugfs register dump
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Wed, 21 Aug 2019 18:58:19 +0000 (13:58 -0500)
committerVinod Koul <vkoul@kernel.org>
Fri, 23 Aug 2019 06:31:02 +0000 (12:01 +0530)
commitaa85066e5f26912662668535a400ed705eb4c0e7
tree4652effb0440339d10461edf669cb2158c46101f
parentbf03473d5bcc85fbe9533fa042f67809d8520c4e
soundwire: cadence_master: add debugfs register dump

Add debugfs file to dump the Cadence master registers.

Credits: this patch is based on an earlier internal contribution by
Vinod Koul, Sanyog Kale, Shreyas Nc and Hardik Shah.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Sanyog Kale <sanyog.r.kale@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190821185821.12690-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/cadence_master.c
drivers/soundwire/cadence_master.h