* Re: [PATCH] ASoC: amd: Missing Initialization of IRQFLAGS
2019-09-27 0:04 ` [PATCH] ASoC: amd: Missing Initialization of IRQFLAGS Ravulapati Vishnu vardhan rao
@ 2019-09-26 15:19 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2019-09-26 15:19 UTC (permalink / raw)
To: Ravulapati Vishnu vardhan rao
Cc: Alexander.Deucher, Liam Girdwood, Jaroslav Kysela, Takashi Iwai,
Vijendar Mukunda, Maruthi Srinivas Bayyavarapu, Colin Ian King,
Dan Carpenter,
moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM...,
open list
[-- Attachment #1: Type: text/plain, Size: 236 bytes --]
On Fri, Sep 27, 2019 at 05:34:47AM +0530, Ravulapati Vishnu vardhan rao wrote:
> Fix for missing initialization of IRQFLAGS in
> ACP-PCI driver and Missing Macro of ACP3x_DEVS.
>
> Follow up to IDb33df346
What is "IDb33df346"?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] ASoC: amd: Missing Initialization of IRQFLAGS
[not found] <Fix for missing initialization of IRQFLAGS.>
@ 2019-09-27 0:04 ` Ravulapati Vishnu vardhan rao
2019-09-26 15:19 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Ravulapati Vishnu vardhan rao @ 2019-09-27 0:04 UTC (permalink / raw)
Cc: Alexander.Deucher, Ravulapati Vishnu vardhan rao, Liam Girdwood,
Mark Brown, Jaroslav Kysela, Takashi Iwai, Vijendar Mukunda,
Maruthi Srinivas Bayyavarapu, Colin Ian King, Dan Carpenter,
moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM...,
open list
Fix for missing initialization of IRQFLAGS in
ACP-PCI driver and Missing Macro of ACP3x_DEVS.
Follow up to IDb33df346
Signed-off-by: Ravulapati Vishnu vardhan rao <Vishnuvardhanrao.Ravulapati@amd.com>
---
sound/soc/amd/raven/pci-acp3x.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/sound/soc/amd/raven/pci-acp3x.c b/sound/soc/amd/raven/pci-acp3x.c
index 627798a..3887ea0 100644
--- a/sound/soc/amd/raven/pci-acp3x.c
+++ b/sound/soc/amd/raven/pci-acp3x.c
@@ -219,7 +219,7 @@ static int snd_acp3x_probe(struct pci_dev *pci,
sizeof(struct resource) * 4,
GFP_KERNEL);
adata->cell = devm_kzalloc(&pci->dev,
- sizeof(struct mfd_cell) * 3,
+ sizeof(struct mfd_cell) * ACP3x_DEVS,
GFP_KERNEL);
if (!adata->cell) {
ret = -ENOMEM;
@@ -260,6 +260,7 @@ static int snd_acp3x_probe(struct pci_dev *pci,
adata->res[3].flags = IORESOURCE_IRQ;
adata->res[3].start = pci->irq;
adata->res[3].end = adata->res[3].start;
+ irqflags = 0;
adata->acp3x_audio_mode = ACP3x_I2S_MODE;
@@ -282,8 +283,9 @@ static int snd_acp3x_probe(struct pci_dev *pci,
adata->cell[2].platform_data = &i2s_pdata[1];
adata->cell[2].pdata_size =
sizeof(struct i2s_platform_data);
- r = mfd_add_hotplug_devices(adata->parent, adata->cell, 3);
- for (i = 0; i < 3 ; i++)
+ r = mfd_add_hotplug_devices(adata->parent, adata->cell,
+ ACP3x_DEVS);
+ for (i = 0; i < ACP3x_DEVS ; i++)
dev = get_mfd_cell_dev(adata->cell[i].name, i);
break;
--
2.7.4
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-09-26 15:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <Fix for missing initialization of IRQFLAGS.>
2019-09-27 0:04 ` [PATCH] ASoC: amd: Missing Initialization of IRQFLAGS Ravulapati Vishnu vardhan rao
2019-09-26 15:19 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®