]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: amd: acp: remove unused variables from acp_resource structure
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Mon, 17 Jun 2024 07:28:38 +0000 (12:58 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 21 Jun 2024 12:18:06 +0000 (13:18 +0100)
Remove unused variables i2s_pin_cfg_offset and i2s_mode from acp_resource
structure entries.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://patch.msgid.link/20240617072844.871468-5-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp-rembrandt.c
sound/soc/amd/acp/acp-renoir.c
sound/soc/amd/acp/acp63.c
sound/soc/amd/acp/acp70.c
sound/soc/amd/acp/amd.h

index 158f819f8da4ae208549f1ca1d5d0fc0785578d3..953a793de9a353aa81e72ae17da5ade5694c80bc 100644 (file)
@@ -39,8 +39,6 @@ static struct acp_resource rsrc = {
        .irqp_used = 1,
        .soc_mclk = true,
        .irq_reg_offset = 0x1a00,
-       .i2s_pin_cfg_offset = 0x1440,
-       .i2s_mode = 0x0a,
        .scratch_reg_offset = 0x12800,
        .sram_pte_offset = 0x03802800,
 };
index b0e181c9a733a5f1a243763829d6c10fbc90f751..db835ed7c20847af9a5ad730b6b4d2acb12677a8 100644 (file)
@@ -32,8 +32,6 @@ static struct acp_resource rsrc = {
        .no_of_ctrls = 1,
        .irqp_used = 0,
        .irq_reg_offset = 0x1800,
-       .i2s_pin_cfg_offset = 0x1400,
-       .i2s_mode = 0x04,
        .scratch_reg_offset = 0x12800,
        .sram_pte_offset = 0x02052800,
 };
index 4d342441a6506f4f7bd4f03c10f110321a95c0a1..f223311b6740768b82e292f5a42c4c250d003604 100644 (file)
@@ -55,8 +55,6 @@ static struct acp_resource rsrc = {
        .irqp_used = 1,
        .soc_mclk = true,
        .irq_reg_offset = 0x1a00,
-       .i2s_pin_cfg_offset = 0x1440,
-       .i2s_mode = 0x0a,
        .scratch_reg_offset = 0x12800,
        .sram_pte_offset = 0x03802800,
 };
index 0d7cdd4017e5c18fa7717870ea22add1d71c2620..a2cbdcca431324778a2f516bef6ec249c4e8a127 100644 (file)
@@ -31,8 +31,6 @@ static struct acp_resource rsrc = {
        .irqp_used = 1,
        .soc_mclk = true,
        .irq_reg_offset = 0x1a00,
-       .i2s_pin_cfg_offset = 0x1440,
-       .i2s_mode = 0x0a,
        .scratch_reg_offset = 0x12800,
        .sram_pte_offset = 0x03802800,
 };
index d75b4eb34de8d3614e7b7925c708a1cdfc387ab4..cbf9ca26f3ee257ede3e69ce64478cd290050df4 100644 (file)
@@ -162,8 +162,6 @@ struct acp_resource {
        int irqp_used;
        bool soc_mclk;
        u32 irq_reg_offset;
-       u32 i2s_pin_cfg_offset;
-       int i2s_mode;
        u64 scratch_reg_offset;
        u64 sram_pte_offset;
 };