rtd structure freed early may result in kernel panic in dma close
call back. moved releasing memory for rtd structure to the end of
dma close callback.
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
---
sound/soc/amd/acp-pcm-dma.c | 4 +---
1 file changed, 1 insertion(+), 3 del
rtd structure freed early may result in kernel panic in dma close
call back. moved releasing memory for rtd structure to the end of
dma close callback.
Signed-off-by: Vijendar Mukunda
---
sound/soc/amd/acp-pcm-dma.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound
Removed separate byte count variables for playback and capture.
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
---
sound/soc/amd/acp-pcm-dma.c | 19 +--
sound/soc/amd/acp.h | 3 +--
2 files changed, 6 insertions(+), 16 deletions(-)
diff --git a/sound/s
Removed separate byte count variables for playback and capture.
Signed-off-by: Vijendar Mukunda
---
sound/soc/amd/acp-pcm-dma.c | 19 +--
sound/soc/amd/acp.h | 3 +--
2 files changed, 6 insertions(+), 16 deletions(-)
diff --git a/sound/soc/amd/acp-pcm-dma.c b/sound/soc
Added pte offset variable in audio_substream_data structure.
Added Stoney related PTE offset macros in acp header file.
Modified hw_params callback to assign the pte offset value
based on asic_type.
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
---
sound/soc/amd/acp-pcm-dma.
Added pte offset variable in audio_substream_data structure.
Added Stoney related PTE offset macros in acp header file.
Modified hw_params callback to assign the pte offset value
based on asic_type.
Signed-off-by: Vijendar Mukunda
---
sound/soc/amd/acp-pcm-dma.c | 26
Added byte count register offset variables to audio_substream_data
structure. Modified dma pointer callback.
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
---
sound/soc/amd/acp-pcm-dma.c | 36 +++-
sound/soc/amd/acp.h | 2 ++
2 files c
Added byte count register offset variables to audio_substream_data
structure. Modified dma pointer callback.
Signed-off-by: Vijendar Mukunda
---
sound/soc/amd/acp-pcm-dma.c | 36 +++-
sound/soc/amd/acp.h | 2 ++
2 files changed, 17 insertions(+), 21
Added dma configuration parameters to rtd structure.
Moved dma configuration parameters intialization to
hw_params callback.
Removed hard coding in prepare and trigger callbacks.
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
---
sound/soc/amd/acp-pcm-dma.
Added dma configuration parameters to rtd structure.
Moved dma configuration parameters intialization to
hw_params callback.
Removed hard coding in prepare and trigger callbacks.
Signed-off-by: Vijendar Mukunda
---
sound/soc/amd/acp-pcm-dma.c | 97
In order to make audio_substream_data structure variable
consistent throughout the code, changed the name from
audio_config to rtd wherever applicable.
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
---
sound/soc/amd/acp-pcm-dma.c | 18 +-
1 file changed, 9 inse
In order to make audio_substream_data structure variable
consistent throughout the code, changed the name from
audio_config to rtd wherever applicable.
Signed-off-by: Vijendar Mukunda
---
sound/soc/amd/acp-pcm-dma.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff
With in ACP, There are three I2S controllers can be
configured/enabled ( I2S SP, I2S MICSP, I2S BT).
Default enabled I2S controller instance is I2S SP.
This patch provides required changes to support I2S BT
controller Instance.
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
Sign
With in ACP, There are three I2S controllers can be
configured/enabled ( I2S SP, I2S MICSP, I2S BT).
Default enabled I2S controller instance is I2S SP.
This patch provides required changes to support I2S BT
controller Instance.
Signed-off-by: Vijendar Mukunda
Signed-off-by: Akshu Agrawal
---
v1
;
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
---
sound/soc/amd/acp-da7219-max98357a.c | 54
1 file changed, 37 insertions(+), 17 deletions(-)
diff --git a/sound/soc/amd/acp-da7219-max98357a.c
b/sound/soc/amd/acp-da7219-max98357a.c
index b205c
From: Akshu Agrawal
hw_param can be called multiple times and thus we can have
more clk enable. The clk may not get diabled due to refcounting.
startup/shutdown ensures single clk enable/disable call.
Signed-off-by: Akshu Agrawal
Signed-off-by: Vijendar Mukunda
---
sound/soc/amd/acp-da7219
.
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
---
sound/soc/amd/acp-pcm-dma.c | 241 ++--
sound/soc/amd/acp.h | 35 +--
2 files changed, 126 insertions(+), 150 deletions(-)
diff --git a/sound/soc/amd/acp-pcm-dma.c b/sound/soc/amd/a
.
Signed-off-by: Vijendar Mukunda
---
sound/soc/amd/acp-pcm-dma.c | 241 ++--
sound/soc/amd/acp.h | 35 +--
2 files changed, 126 insertions(+), 150 deletions(-)
diff --git a/sound/soc/amd/acp-pcm-dma.c b/sound/soc/amd/acp-pcm-dma.c
index 5ffe2ef
-by: Vijendar Mukunda <vijendar.muku...@amd.com>
Signed-off-by: Akshu Agrawal <akshu.agra...@amd.com>
---
v1->v2: fixed kbuild errors
sound/soc/amd/acp-da7219-max98357a.c | 2 ++
sound/soc/amd/acp-pcm-dma.c | 9 +
sound/soc/amd/acp.h | 1 +
3 files changed
-by: Vijendar Mukunda
Signed-off-by: Akshu Agrawal
---
v1->v2: fixed kbuild errors
sound/soc/amd/acp-da7219-max98357a.c | 2 ++
sound/soc/amd/acp-pcm-dma.c | 9 +
sound/soc/amd/acp.h | 1 +
3 files changed, 12 insertions(+)
diff --git a/sound/soc/amd/acp-da7219-max98357
With in ACP, There are three I2S controllers can be
configured/enabled ( I2S SP, I2S MICSP, I2S BT).
Default enabled I2S controller instance is I2S SP.
This patch provides required changes to support I2S BT
controller Instance.
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
---
With in ACP, There are three I2S controllers can be
configured/enabled ( I2S SP, I2S MICSP, I2S BT).
Default enabled I2S controller instance is I2S SP.
This patch provides required changes to support I2S BT
controller Instance.
Signed-off-by: Vijendar Mukunda
---
v1->v2: defined i2s insta
When multiple I2S controller instances created,
i2s_instance parameter refers to i2s controller instance value.
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
---
v1->v2: removed acp dma driver specific macros from dwc header file
include/sound/designware_i2s.h | 4
When multiple I2S controller instances created,
i2s_instance parameter refers to i2s controller instance value.
Signed-off-by: Vijendar Mukunda
---
v1->v2: removed acp dma driver specific macros from dwc header file
include/sound/designware_i2s.h | 4
sound/soc/dwc/dwc-i2s.c
-by: Vijendar Mukunda <vijendar.muku...@amd.com>
Signed-off-by: Akshu Agrawal <akshu.agra...@amd.com>
v1->v2: fixed kbuild errors
---
sound/soc/amd/acp-da7219-max98357a.c | 2 ++
sound/soc/amd/acp-pcm-dma.c | 9 +
sound/soc/amd/acp.h | 1 +
3 files changed
-by: Vijendar Mukunda
Signed-off-by: Akshu Agrawal
v1->v2: fixed kbuild errors
---
sound/soc/amd/acp-da7219-max98357a.c | 2 ++
sound/soc/amd/acp-pcm-dma.c | 9 +
sound/soc/amd/acp.h | 1 +
3 files changed, 12 insertions(+)
diff --git a/sound/soc/amd/acp-da7219-max98357
-by: Vijendar Mukunda <vijendar.muku...@amd.com>
Signed-off-by: Akshu Agrawal <akshu.agra...@amd.com>
---
sound/soc/amd/acp-da7219-max98357a.c | 2 ++
sound/soc/amd/acp-pcm-dma.c | 9 +
sound/soc/amd/acp.h | 1 +
3 files changed, 12 insertions(+)
diff --git a/s
-by: Vijendar Mukunda
Signed-off-by: Akshu Agrawal
---
sound/soc/amd/acp-da7219-max98357a.c | 2 ++
sound/soc/amd/acp-pcm-dma.c | 9 +
sound/soc/amd/acp.h | 1 +
3 files changed, 12 insertions(+)
diff --git a/sound/soc/amd/acp-da7219-max98357a.c
b/sound/soc/amd/acp-da7219
fixed checkpatch pl warnings.
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
---
sound/soc/amd/acp-pcm-dma.c | 259
sound/soc/amd/acp.h | 22 ++--
2 files changed, 153 insertions(+), 128 deletions(-)
diff --git a/sound/s
fixed checkpatch pl warnings.
Signed-off-by: Vijendar Mukunda
---
sound/soc/amd/acp-pcm-dma.c | 259
sound/soc/amd/acp.h | 22 ++--
2 files changed, 153 insertions(+), 128 deletions(-)
diff --git a/sound/soc/amd/acp-pcm-dma.c b/sound/soc
With in ACP, There are three I2S controllers can be
configured/enabled ( I2S SP, I2S MICSP, I2S BT).
Default enabled I2S controller instance is I2S SP.
This patch provides required changes to support I2S BT
controller Instance.
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
---
With in ACP, There are three I2S controllers can be
configured/enabled ( I2S SP, I2S MICSP, I2S BT).
Default enabled I2S controller instance is I2S SP.
This patch provides required changes to support I2S BT
controller Instance.
Signed-off-by: Vijendar Mukunda
---
sound/soc/amd/Kconfig
When multiple I2S controller instances created,
i2s_instance parameter refers to i2s controller instance value.
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
---
include/sound/designware_i2s.h | 6 ++
sound/soc/d
When multiple I2S controller instances created,
i2s_instance parameter refers to i2s controller instance value.
Signed-off-by: Vijendar Mukunda
Reviewed-by: Alex Deucher
---
include/sound/designware_i2s.h | 6 ++
sound/soc/dwc/dwc-i2s.c| 1 +
sound/soc/dwc/local.h | 1 +
3
added additional error checks in acp dma driver
v2: printed error codes for acp init & acp deinit
failure cases.
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
---
sound/soc/amd/acp-pcm-dma.c | 35 ++-
1 file changed, 30 insertions(+), 5
added additional error checks in acp dma driver
v2: printed error codes for acp init & acp deinit
failure cases.
Signed-off-by: Vijendar Mukunda
---
sound/soc/amd/acp-pcm-dma.c | 35 ++-
1 file changed, 30 insertions(+), 5 deletions(-)
diff --git a/sound/soc
added additional error checks in acp dma driver
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
---
sound/soc/amd/acp-pcm-dma.c | 39 ++-
1 file changed, 34 insertions(+), 5 deletions(-)
diff --git a/sound/soc/amd/acp-pcm-dma.c b/sound/soc/a
added additional error checks in acp dma driver
Signed-off-by: Vijendar Mukunda
---
sound/soc/amd/acp-pcm-dma.c | 39 ++-
1 file changed, 34 insertions(+), 5 deletions(-)
diff --git a/sound/soc/amd/acp-pcm-dma.c b/sound/soc/amd/acp-pcm-dma.c
index fb09578
added error checks in acp dma driver
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
Signed-off-by: Akshu Agrawal <akshu.agra...@amd.com>
Signed-off-by: Guenter Roeck <gro...@chromium.org>
---
sound/soc/amd/acp-pcm-dma.c | 45 +++
added error checks in acp dma driver
Signed-off-by: Vijendar Mukunda
Signed-off-by: Akshu Agrawal
Signed-off-by: Guenter Roeck
---
sound/soc/amd/acp-pcm-dma.c | 45 -
1 file changed, 40 insertions(+), 5 deletions(-)
diff --git a/sound/soc/amd/acp
This commit adds PCI ID for Raven platform
v2: Comment added for Raven
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
---
sound/pci/hda/hda_intel.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 01eb1dc..4
This commit adds PCI ID for Raven platform
v2: Comment added for Raven
Signed-off-by: Vijendar Mukunda
---
sound/pci/hda/hda_intel.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 01eb1dc..44babe5 100644
--- a/sound/pci/hda
This commit adds PCI ID for Raven platform
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
---
sound/pci/hda/hda_intel.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 01eb1dc..9c7d479 100644
--- a/sound/p
This commit adds PCI ID for Raven platform
Signed-off-by: Vijendar Mukunda
---
sound/pci/hda/hda_intel.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 01eb1dc..9c7d479 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda
101 - 144 of 144 matches
Mail list logo