mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-01 10:45:49 +00:00
ALSA: aoa: Fix typos in PCM fix patch
There was typos in the previous fix for PCM to detach the struct
device that caused build errors. Corrected here.
Fixes: bc41a7228c
("ALSA: pcm: Don't embed device")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308181347.q3XPr3Lm-lkp@intel.com/
Link: https://lore.kernel.org/r/20230818070913.23336-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
01ed7f3535
commit
a707885aff
@ -972,7 +972,7 @@ i2sbus_attach_codec(struct soundbus_dev *dev, struct snd_card *card,
|
||||
goto out_put_ci_module;
|
||||
snd_pcm_set_ops(dev->pcm, SNDRV_PCM_STREAM_PLAYBACK,
|
||||
&i2sbus_playback_ops);
|
||||
dev->pcm->streams[SNDRV_PCM_STREAM_PLAYBACK]->dev.parent =
|
||||
dev->pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].dev->parent =
|
||||
&dev->ofdev.dev;
|
||||
i2sdev->out.created = 1;
|
||||
}
|
||||
@ -989,7 +989,7 @@ i2sbus_attach_codec(struct soundbus_dev *dev, struct snd_card *card,
|
||||
goto out_put_ci_module;
|
||||
snd_pcm_set_ops(dev->pcm, SNDRV_PCM_STREAM_CAPTURE,
|
||||
&i2sbus_record_ops);
|
||||
dev->pcm->streams[SNDRV_PCM_STREAM_CAPTURE]->dev.parent =
|
||||
dev->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].dev->parent =
|
||||
&dev->ofdev.dev;
|
||||
i2sdev->in.created = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user