alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [alsa-devel] [PATCH] ASoC: rt715: use dev_to_sdw_dev() macro
@ 2020-01-13 20:40 Pierre-Louis Bossart
  2020-01-14 15:24 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Pierre-Louis Bossart @ 2020-01-13 20:40 UTC (permalink / raw)
  To: alsa-devel; +Cc: tiwai, Jack Yu, broonie, Pierre-Louis Bossart

The driver used a macro which was renamed during the joint
Intel/SoundWire development, but since those renames were not merged
by the SoundWire maintainer we have to revert to the original macros
as done with the other Realtek codecs.

Fixes: d1ede0641b05e4 ("ASoC: rt715: add RT715 codec driver")
Cc: Jack Yu <jack.yu@realtek.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
---
 sound/soc/codecs/rt715-sdw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/rt715-sdw.c b/sound/soc/codecs/rt715-sdw.c
index c35591fd281b..18868e4ae6e8 100644
--- a/sound/soc/codecs/rt715-sdw.c
+++ b/sound/soc/codecs/rt715-sdw.c
@@ -565,7 +565,7 @@ static int rt715_dev_suspend(struct device *dev)
 
 static int rt715_dev_resume(struct device *dev)
 {
-	struct sdw_slave *slave = to_sdw_slave_device(dev);
+	struct sdw_slave *slave = dev_to_sdw_dev(dev);
 	struct rt715_priv *rt715 = dev_get_drvdata(dev);
 	unsigned long time;
 
-- 
2.20.1

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [alsa-devel] [PATCH] ASoC: rt715: use dev_to_sdw_dev() macro
  2020-01-13 20:40 [alsa-devel] [PATCH] ASoC: rt715: use dev_to_sdw_dev() macro Pierre-Louis Bossart
@ 2020-01-14 15:24 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2020-01-14 15:24 UTC (permalink / raw)
  To: Pierre-Louis Bossart; +Cc: tiwai, Jack Yu, alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 348 bytes --]

On Mon, Jan 13, 2020 at 02:40:49PM -0600, Pierre-Louis Bossart wrote:
> The driver used a macro which was renamed during the joint
> Intel/SoundWire development, but since those renames were not merged
> by the SoundWire maintainer we have to revert to the original macros
> as done with the other Realtek codecs.

Morimoto-san already fixed this.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 161 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-14 15:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-13 20:40 [alsa-devel] [PATCH] ASoC: rt715: use dev_to_sdw_dev() macro Pierre-Louis Bossart
2020-01-14 15:24 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).