diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2022-08-23 08:38:36 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-09-01 11:59:14 +0300 |
commit | 7f8170686d1733321841b21da8c2cd09ddb922b7 (patch) | |
tree | 52eb1826f5d7937a1ea918fd1f55870ec06b2fe4 /include/linux/soundwire | |
parent | 1f2dcf3a154acf2c33c95859d8a2023fae596a04 (diff) | |
download | linux-7f8170686d1733321841b21da8c2cd09ddb922b7.tar.xz |
soundwire: intel: cleanup definition of LCOUNT
Add definition in header file rather than hidden in code.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20220823053846.2684635-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux/soundwire')
-rw-r--r-- | include/linux/soundwire/sdw_intel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/soundwire/sdw_intel.h b/include/linux/soundwire/sdw_intel.h index ec16ae49e6a4..49a3c265529b 100644 --- a/include/linux/soundwire/sdw_intel.h +++ b/include/linux/soundwire/sdw_intel.h @@ -15,7 +15,10 @@ #define SDW_LINK_SIZE 0x10000 /* Intel SHIM Registers Definition */ +/* LCAP */ #define SDW_SHIM_LCAP 0x0 +#define SDW_SHIM_LCAP_LCOUNT_MASK GENMASK(2, 0) + #define SDW_SHIM_LCTL 0x4 #define SDW_SHIM_IPPTR 0x8 #define SDW_SHIM_SYNC 0xC |