clear-pkgs-linux-iot-lts2018/0223-ASoC-Intel-Skylake-Wak...

31 lines
1.0 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Panwar, Ashish" <ashish.panwar@intel.com>
Date: Fri, 4 Mar 2016 11:14:28 +0530
Subject: [PATCH] ASoC: Intel: Skylake: Wake up any potential reader after
copying log data
Change-Id: I0f9587d0c7f6bdd83b5b0cd62afc51f767cffb92
Signed-off-by: Panwar, Ashish <ashish.panwar@intel.com>
Reviewed-on:
Reviewed-by: Babu, Ramesh <ramesh.babu@intel.com>
Tested-by: Babu, Ramesh <ramesh.babu@intel.com>
---
sound/soc/intel/skylake/skl-fwlog.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/intel/skylake/skl-fwlog.c b/sound/soc/intel/skylake/skl-fwlog.c
index 96c5d245849d..1aacf8625658 100644
--- a/sound/soc/intel/skylake/skl-fwlog.c
+++ b/sound/soc/intel/skylake/skl-fwlog.c
@@ -125,6 +125,7 @@ void skl_dsp_write_log(struct sst_dsp *sst, void __iomem *src, int core,
data++;
}
buff->total_avail += count;
+ wake_up(&buff->stream->runtime->sleep);
}
int skl_dsp_copy_log_user(struct sst_dsp *sst, int core,
--
https://clearlinux.org