mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-08 15:04:45 +00:00
soundwire: intel: remove unused PDM capabilities
We removed PDM support a long time ago but kept the definitions. 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-6-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
ca33a58d12
commit
c27ce5c9dd
@ -170,9 +170,8 @@ static int intel_reg_show(struct seq_file *s_file, void *data)
|
||||
ret += intel_sprintf(s, false, buf, ret,
|
||||
SDW_SHIM_PCMSYCHC(i, j));
|
||||
}
|
||||
ret += scnprintf(buf + ret, RD_BUF - ret, "\n PDMSCAP, IOCTL, CTMCTL\n");
|
||||
ret += scnprintf(buf + ret, RD_BUF - ret, "\n IOCTL, CTMCTL\n");
|
||||
|
||||
ret += intel_sprintf(s, false, buf, ret, SDW_SHIM_PDMSCAP(i));
|
||||
ret += intel_sprintf(s, false, buf, ret, SDW_SHIM_IOCTL(i));
|
||||
ret += intel_sprintf(s, false, buf, ret, SDW_SHIM_CTMCTL(i));
|
||||
}
|
||||
|
@ -47,7 +47,6 @@
|
||||
|
||||
#define SDW_SHIM_PCMSYCHM(x, y) (0x022 + (0x60 * (x)) + (0x2 * (y)))
|
||||
#define SDW_SHIM_PCMSYCHC(x, y) (0x042 + (0x60 * (x)) + (0x2 * (y)))
|
||||
#define SDW_SHIM_PDMSCAP(x) (0x062 + 0x60 * (x))
|
||||
#define SDW_SHIM_IOCTL(x) (0x06C + 0x60 * (x))
|
||||
#define SDW_SHIM_CTMCTL(x) (0x06E + 0x60 * (x))
|
||||
|
||||
@ -63,11 +62,6 @@
|
||||
#define SDW_SHIM_PCMSYCM_STREAM GENMASK(13, 8)
|
||||
#define SDW_SHIM_PCMSYCM_DIR BIT(15)
|
||||
|
||||
#define SDW_SHIM_PDMSCAP_ISS GENMASK(3, 0)
|
||||
#define SDW_SHIM_PDMSCAP_OSS GENMASK(7, 4)
|
||||
#define SDW_SHIM_PDMSCAP_BSS GENMASK(12, 8)
|
||||
#define SDW_SHIM_PDMSCAP_CPSS GENMASK(15, 13)
|
||||
|
||||
#define SDW_SHIM_IOCTL_MIF BIT(0)
|
||||
#define SDW_SHIM_IOCTL_CO BIT(1)
|
||||
#define SDW_SHIM_IOCTL_COE BIT(2)
|
||||
|
Loading…
Reference in New Issue
Block a user