7dab9e5 | Zhu Yingjiang | 28 October 2018, 06:44:10 UTC | ASoC:SOF remove duplicated defines there are duplicated defines HDA_DSP_ADSPIS_CL_DMA HDA_DSP_ADSPIC_CL_DMA the defines HDA_SKL_ADSP_FW_STATUS and HDA_DSP_SRAM_REG_ROM_STATUS_SKL are the same Signed-off-by: Zhu Yingjiang <yingjiang.zhu@linux.intel.com> | 28 October 2018, 06:44:10 UTC |
03cadf8 | Bard liao | 26 October 2018, 09:05:09 UTC | ASoC: Intel: common: add SOF information for APL RVP Add firmware/topology information for APL RVP Signed-off-by: Bard liao <bard.liao@intel.com> | 26 October 2018, 16:41:07 UTC |
fe8404a | Shuming Fan | 18 September 2018, 11:51:53 UTC | ASoC: rt5682: Minor code modification Minor code changes are: - improve the readability in patch list - add i2c remove function - regmap_register_patch changes to regmap_multi_reg_write Signed-off-by: Shuming Fan <shumingf@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit 37efe23dcca3c59cee662f1c28835020bef31cc0) | 24 October 2018, 22:35:59 UTC |
a3a6553 | Shuming Fan | 18 September 2018, 11:51:38 UTC | ASoC: rt5682: Fix the boost volume at the begining of playback This patch fixed the boost volume at the begining of playback while DAC volume set to lower level. Signed-off-by: Shuming Fan <shumingf@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit 28b20dde5e1c943ab899549a655ac4935cffccbb) | 24 October 2018, 22:35:59 UTC |
18ad685 | Shuming Fan | 18 September 2018, 11:50:38 UTC | ASoC: rt5682: Update calibration function The ADC/DAC path should open while calibration process. Signed-off-by: Shuming Fan <shumingf@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit afd603e4ded0fad9e3102d514020af8494da1604) | 24 October 2018, 22:35:59 UTC |
3d3ba72 | Shuming Fan | 18 September 2018, 11:51:24 UTC | ASoC: rt5682: Remove HP volume control This patch removed Headphone Playback Volume control. Due to codec settings, we don't want the user to change HP analog gain. The user could use DAC1 Playback Volume control to change playback volume. Signed-off-by: Shuming Fan <shumingf@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit 3f24f37adbc9a1059420a9c8f857e3490a4bce5e) | 24 October 2018, 22:35:59 UTC |
5121c8d | Shuming Fan | 18 September 2018, 11:51:08 UTC | ASoC: rt5682: Improve HP performance We change the settings while HP power-up for better performance. Signed-off-by: Shuming Fan <shumingf@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit bf0fa00fd8410b377a3403adb58e32fc703e86e8) | 24 October 2018, 22:35:59 UTC |
bad7ef5 | Shuming Fan | 24 August 2018, 02:52:19 UTC | ASoC: rt5682: Change DAC/ADC volume scale The step of DAC/ADC volume scale changes from 0.375dB to 0.75dB Signed-off-by: Shuming Fan <shumingf@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org (cherry picked from commit 7509487785d7a2bf3606cf26710f0ca29e9ca94d) | 24 October 2018, 22:35:59 UTC |
f341ebc | Shuming Fan | 24 August 2018, 02:51:51 UTC | ASoC: rt5682: Update calibration function New calibration sequence allows rt5682 do calibration without MCLK. Signed-off-by: Shuming Fan <shumingf@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit 513792c2554bdece11d82568ea25501a555abd34) | 24 October 2018, 22:35:59 UTC |
6a8f621 | Bard Liao | 03 July 2018, 05:07:25 UTC | ASoC: rt5682: add button detection mode control We are currently using power saving mode for button detection. However, it will impact the headset recording performance. This patch will switch button detection to normal mode in capture and switch to power saving mode in the end of capture. Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit 2daf3d9962c5a11fb79fe17bae03125df5d60236) | 24 October 2018, 22:35:59 UTC |
37b4102 | Wei Yongjun | 22 June 2018, 02:23:24 UTC | ASoC: rt5682: use devm_snd_soc_register_component() Using devm_snd_soc_register_component() and drop all of the code related to .remove hook. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit a98ec93d7e378db21a6cdbc6d55feaba9fb4b999) | 24 October 2018, 22:35:59 UTC |
ab0114e | Bard Liao | 07 June 2018, 08:37:38 UTC | ASoC: rt5682: add rt5682 codec driver This is the initial codec driver for rt5682. Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit 0ddce71c21f03fd19867c4939d3ca710f37cdf1a) | 24 October 2018, 22:35:59 UTC |
5d6bc7c | Pierre-Louis Bossart | 24 October 2018, 22:03:30 UTC | ASoC: Intel: boards: reorder Kconfig Align with upstream code Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 22:10:21 UTC |
cc28c37 | Naveen Manohar | 18 June 2018, 18:29:38 UTC | ASoC: Intel: common: Add Geminilake Dialog+Maxim machine driver entry This patch adds da7219_max98357a machine driver entry into machine table Signed-off-by: Naveen Manohar <naveen.m@intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit 65a33883c778befcb85ef45285763fd8ac1b2ba3) | 24 October 2018, 22:10:21 UTC |
a9f7fed | Naveen Manohar | 11 July 2018, 10:35:36 UTC | ASoC: Intel: Boards: Add GLK Realtek Maxim I2S machine driver Patch adds Geminilake I2S machine driver which uses following codecs: RT5682 and MAX98357A. Signed-off-by: Naveen Manohar <naveen.m@intel.com> Signed-off-by: Harsha Priya <harshapriya.n@intel.com> Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit 8452112baac67c3235d15de67fb190d29bbba98f) | 24 October 2018, 22:10:21 UTC |
23f507e | Pierre-Louis Bossart | 24 October 2018, 16:21:59 UTC | Revert "ASoC: SOF: add sof vBE and vFE support" This reverts commit 481973cf6ca7ac2af9e246fe2f2daa09254cc112. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 20:32:46 UTC |
f7f73dd | Pierre-Louis Bossart | 24 October 2018, 16:21:03 UTC | Revert "ASoC: SOF: virtio-miscdev.h: fix style issues" This reverts commit f677a1a75771c772d7edd932fe9c8ba042ab2ad1. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 20:32:46 UTC |
1c56e46 | Pierre-Louis Bossart | 23 October 2018, 16:23:29 UTC | ASoC: SOF: ipc: align fw_version with firmware reclaim padding for abi_version Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:10:46 UTC |
3ead65e | Pierre-Louis Bossart | 23 October 2018, 16:22:21 UTC | ASoC: SOF: ipc: align ipc_pipe config with firmware s/timer/timer_delay Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:10:46 UTC |
e05df1f | Pierre-Louis Bossart | 23 October 2018, 16:01:58 UTC | ASoC: SOF: ipc: align eq_config with firmware EQ ipc was using int as size, so change it to unsigned as it won't ever be negative. Also fix effect enum type none. Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:10:46 UTC |
6c3c420 | Pierre-Louis Bossart | 23 October 2018, 15:59:03 UTC | ASoC: SOF: ipc: align ssp_config with firmware Clock controls is now a single field. This change impacts topology files due to a renumbering of the tokens. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:10:46 UTC |
51c855f | Pierre-Louis Bossart | 23 October 2018, 15:57:01 UTC | ASoC: SOF: ipc: align pm_core_config with firmware no new code, just add definitions Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:10:46 UTC |
f677a1a | Pierre-Louis Bossart | 23 October 2018, 22:15:28 UTC | ASoC: SOF: virtio-miscdev.h: fix style issues Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:08:53 UTC |
ccaa1bb | Pierre-Louis Bossart | 23 October 2018, 22:14:58 UTC | ASoC: SOF: sof-priv.h: fix style issues Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:08:53 UTC |
19fbfb0 | Pierre-Louis Bossart | 23 October 2018, 22:14:37 UTC | ASoC: SOF: sof-priv.h: fix style issues Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:08:53 UTC |
37eabe4 | Pierre-Louis Bossart | 23 October 2018, 22:14:08 UTC | ASoC: SOF: ops.h: fix style issues Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:08:53 UTC |
4193dd7 | Pierre-Louis Bossart | 23 October 2018, 22:13:49 UTC | ASoC: SOF: hda.h: fix style issues Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:08:53 UTC |
356dd5e | Pierre-Louis Bossart | 23 October 2018, 22:13:31 UTC | ASoC: SOF: hda.c: fix style issues Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:08:53 UTC |
7459a12 | Pierre-Louis Bossart | 23 October 2018, 22:13:04 UTC | ASoC: SOF: hda-stream.c: fix style issues Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:08:53 UTC |
0ca9ff0 | Pierre-Louis Bossart | 23 October 2018, 22:12:28 UTC | ASoC: SOF: hda-loader.c: fix style issues Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:08:53 UTC |
630df0f | Pierre-Louis Bossart | 23 October 2018, 22:11:55 UTC | ASoC: SOF: hda-loader-skl.c: fix style issues Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:08:53 UTC |
7aece16 | Pierre-Louis Bossart | 23 October 2018, 22:11:23 UTC | ASoC: SOF: hda-codec.c: fix style issues Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:08:53 UTC |
75132f3 | Pierre-Louis Bossart | 23 October 2018, 22:10:57 UTC | ASoC: SOF: hda-bus.c: fix style issues Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:08:53 UTC |
f4fbd11 | Pierre-Louis Bossart | 23 October 2018, 22:10:34 UTC | ASoC: SOF: hw-spi.c: fix style issues Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:08:53 UTC |
a5a4955 | Pierre-Louis Bossart | 23 October 2018, 22:10:10 UTC | ASoC: SOF: control.c: fix style issues Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:08:53 UTC |
a5ef040 | Pierre-Louis Bossart | 23 October 2018, 22:09:39 UTC | ASoC: SOF: sof-topology.h: fix style issues Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:08:53 UTC |
88deb90 | Pierre-Louis Bossart | 23 October 2018, 22:09:07 UTC | ASoC: SOF: sof-tone.h: fix style issues Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:08:53 UTC |
38bcbef | Pierre-Louis Bossart | 23 October 2018, 22:07:53 UTC | ASoC: SOF: sof-ipc.h: fix style issues Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:08:53 UTC |
6da76ce | Pierre-Louis Bossart | 23 October 2018, 22:07:23 UTC | ASoC: SOF: sof-fw.h: fix style issues Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:08:53 UTC |
846b558 | Pierre-Louis Bossart | 23 October 2018, 22:06:22 UTC | ASoC: SOF: sof-eq.h: fix style issues Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:08:53 UTC |
67a8373 | Pierre-Louis Bossart | 23 October 2018, 22:05:43 UTC | ASoC: SOF: sof-abi.h: fix style issues Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:08:53 UTC |
3d450b4 | Pierre-Louis Bossart | 23 October 2018, 22:04:09 UTC | ASoC: SOF: sof.h: fix style issues Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:08:53 UTC |
c66eb49 | Takashi Iwai | 30 July 2018, 06:46:40 UTC | ALSA: memalloc: Fix missing PAGE_SIZE definition The recent fix moved the inline snd_sgbuf_aligned_pages() outside the ifdef, and this triggered a build error on some architectures due to the undefined PAGE_SIZE, as spotted by 0day bot. Fix it by adding the missing header inclusion. Fixes: 4cae99d9b530 ("ALSA: memalloc: declare snd_sgbuf_aligned_pages() unconditionally") Reported-by: kbuild test robot <lkp@intel.com> Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit 345a9ca37aa69bb3133c1a8390a71f993abcef0c) | 24 October 2018, 16:08:11 UTC |
57cff61 | Pierre-Louis Bossart | 25 July 2018, 20:15:56 UTC | ALSA: memalloc: declare snd_sgbuf_aligned_pages() unconditionally Make this helper inline function available for all platforms. This helps solve 0-day compilation issues when CONFIG_SND_DMA_SGBUF is not defined. Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit 4cae99d9b5305ab8cccc839fccceb81ec9e5abda) | 24 October 2018, 16:08:11 UTC |
a979c31 | Pierre-Louis Bossart | 23 October 2018, 20:01:24 UTC | Revert "sound: snd_sgbuf_aligned_pages() doesn't need CONFIG_SND_DMA_SGBUF" This reverts commit 66dc735d45f64fcfc868c3772bb2c4c52446c000. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:08:11 UTC |
5b39904 | Pierre-Louis Bossart | 23 October 2018, 19:59:51 UTC | Revert "sound: fix build on Alpha" This reverts commit 51ebd5d01e6d26ff7f2103417db60b37ad734776. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 24 October 2018, 16:08:11 UTC |
2996b7e | ArturX Kloniecki | 09 October 2018, 12:09:08 UTC | SOF: Update uapi/sof-abi.h header to conform to current SOF master Signed-off-by: ArturX Kloniecki <arturx.kloniecki@linux.intel.com> | 23 October 2018, 17:48:56 UTC |
60c282c | Keyon Jie | 22 October 2018, 09:11:14 UTC | [SQUASHME] ASoC: SOF: fix a return type error. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com> | 23 October 2018, 17:41:01 UTC |
7ef809d | Liam Girdwood | 19 October 2018, 11:57:01 UTC | ASoC: SOF: Intel HDA - cleanup CL on SKL Cleaned up for easier debug. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> | 19 October 2018, 11:57:01 UTC |
c3bec6f | Pan Xiuli | 18 October 2018, 11:06:19 UTC | ASoC: sof: topology: parse direction for dai widget Set direction for dai from topology Signed-off-by: Rander Wang <rander.wang@linux.intel.com> Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com> | 19 October 2018, 08:46:51 UTC |
f4b3c30 | Pan Xiuli | 18 October 2018, 11:05:39 UTC | ASoC: sof: topology: add dai direction token header Signed-off-by: Rander Wang <rander.wang@linux.intel.com> Signed-off-by: Pan Xiuli <xiuli.pant@linux.intel.com> | 19 October 2018, 08:46:51 UTC |
f725efa | Liam Girdwood | 18 October 2018, 13:58:51 UTC | [SQUASHME] ASoC: SOF: core. make page table debug verbose Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> | 18 October 2018, 13:58:51 UTC |
34f2d7d | Liam Girdwood | 18 October 2018, 13:57:04 UTC | [SQUASHME] ASoC: SOF: topology. make widget debug verbose Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> | 18 October 2018, 13:57:04 UTC |
89bef7a | Liam Girdwood | 18 October 2018, 13:29:11 UTC | ASoC: SOF: Intel HDA: continue probe if no HDMI devices found Normal flow if no HDMI devices are connected. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> | 18 October 2018, 13:29:11 UTC |
e1f6cec | Keyon Jie | 18 October 2018, 10:09:15 UTC | ASoC: SOF: fix trace doesn't work after suspend/resume issue We don't delete the debugFS entry for trace at suspend, so we should not allocate buffer again for it at resume, otherwise, the trace will be copied to new buffer and can't be read via old entry. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com> | 18 October 2018, 10:28:36 UTC |
481973c | Libin Yang | 17 September 2018, 08:52:59 UTC | ASoC: SOF: add sof vBE and vFE support This patch adds the sof virtio BE and FE support. It will create a dev node for the communication to the userspace. It also handles the virtio vq event. It dispatches the different vq kicks to different handlers. In the virtio vq handling, it handles all the ipc events from vFE. When there is position update from FW, it will check whether there is an available entry in notification vq. If yes, send the position update notification immediately. If there is no available entry, add the position update event in a list. As soon as the notification vq has an available entry, send the position update to the vFE. For vFE, it will create a virtual audio device driver and communite with vBE audio driver to create PCMs and playback/capture streams. Signed-off-by: Libin Yang <libin.yang@intel.com> | 18 October 2018, 10:17:24 UTC |
4a0e72f | Keyon Jie | 17 October 2018, 09:46:34 UTC | ASoC: SOF: fix trace resume fails issue We should not create debugFW entry for resume, here fix it. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com> | 17 October 2018, 12:03:47 UTC |
c250eb3 | Rander Wang | 30 September 2018, 07:47:56 UTC | ASOC: SOF: add a workaround to detect HDA HDMI codecs The initialization process of HDA in SOF is: (1) init HDA to set up a context for i915 initialization then stop HDA bus. (2) init i915 to init HDMI codecs. (3) init HDA again to make everything ready On WHL, only HDA analog codec is detected in step (1). And after step (2) HDMI could be detected. But in function azx_reset for step(3), the detection code is: /* detect codecs */ if (!bus->codec_mask) { bus->codec_mask = snd_hdac_chip_readw(bus, STATESTS); dev_dbg(bus->dev, "codec_mask = 0x%lx\n", bus->codec_mask); } At step (3) codec_mask is not zero, so no more query would be triggered. This results to miss detecting HDMI codecs. Now set codec_mask to zero to query again For GLK, none codec is detected at step(1), so it is no problem at step(3) Signed-off-by: Rander Wang <rander.wang@linux.intel.com> | 17 October 2018, 10:32:33 UTC |
5300a52 | Keyon Jie | 12 October 2018, 09:47:44 UTC | ASoC: SOF: switch to unset force_ipc_position by default It is ready for DPIB mode, let's select it as default mode Signed-off-by: Keyon Jie <yang.jie@linux.intel.com> | 17 October 2018, 09:58:36 UTC |
bf67a28 | Ranjani Sridharan | 12 October 2018, 05:26:22 UTC | ASoC: SOF: stop trace dma during suspend and re-init upon resume Previously, during pm suspend, trace dma was not stopped and this led to failures with the system entering S3. This patch fixes the issue. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 15 October 2018, 20:12:55 UTC |
3309529 | Zhu Yingjiang | 09 October 2018, 02:49:48 UTC | ASoC:SOF:skl add cldma copy firmware use code loader DMA to copy firmware binary to DSP Signed-off-by: Zhu Yingjiang <yingjiang.zhu@linux.intel.com> | 15 October 2018, 20:02:05 UTC |
856bb51 | Ranjani Sridharan | 11 October 2018, 21:32:54 UTC | ASoC: SOF: set up memory windows only at first boot This will also prevent the debugfs entry creation errors seen every time the device resumes from runtime suspend or system suspend. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 15 October 2018, 19:56:23 UTC |
2a28aca | Pan Xiuli | 27 September 2018, 10:22:33 UTC | ASoC: Intel: Add HDMI support to bxt_pcm512x Add HDMI support to bxt_pcm512x. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com> | 15 October 2018, 19:44:43 UTC |
93853cb | Ranjani Sridharan | 04 October 2018, 23:59:57 UTC | ASoC: SOF: do not restore kcontrols before system suspend PCI devices are brought back to full power before system suspend. Restoring kcontrols when the devices are resumed before system suspend interferes with the suspend sequence. Therefore, use the prepare phase of system suspend to indicate whether kcontrol values should be restored or not. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 05 October 2018, 20:41:39 UTC |
b0f8a2b | Rander Wang | 30 September 2018, 05:32:08 UTC | ASOC: SOF: fix kernel panic on BYT The platform device is registered in new_mach_data function on BYT. Now refine it to register devices at single point Signed-off-by: Rander Wang <rander.wang@linux.intel.com> | 04 October 2018, 12:10:32 UTC |
c6e4dba | Marcin Maka | 03 October 2018, 19:13:52 UTC | ASoC: SOF: dsp: initialize traces early Early initialization of dma-traces enables output from the topology creation. Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com> | 04 October 2018, 11:43:07 UTC |
1a7503c | Keyon Jie | 28 September 2018, 07:58:56 UTC | ASoC: SOF: hda: fix posbuf not updated issue The upper 32bits of posbuf address was not set and lead to posbuf not updated at capture, which lead to underrun when DPIB mode is selected. Here add configuring to it and fix the issue. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com> | 29 September 2018, 19:46:00 UTC |
32f5efe | Rander Wang | 27 September 2018, 08:30:21 UTC | ASOC: Intel: refine hda machine driver to make it work with SOF Signed-off-by: Rander Wang <rander.wang@linux.intel.com> Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com> | 28 September 2018, 08:38:49 UTC |
9fd4421 | Rander Wang | 27 September 2018, 08:23:27 UTC | ASOC: Intel: refine the type of codec_mask from u32 to unsigned long The default type of codec_mask in HDA system is unsigned long Signed-off-by: Rander Wang <rander.wang@linux.intel.com> | 28 September 2018, 08:38:49 UTC |
4180d40 | Rander Wang | 27 September 2018, 08:17:23 UTC | ASOC: SOF: add info for hda machine driver (1)Hda codec status and platform name are used by machine driver to create dai links, so it need to be set in sof core (2)Try HDA codec if no I2S codec is found Signed-off-by: Rander Wang <rander.wang@linux.intel.com> | 28 September 2018, 08:38:49 UTC |
940fa1c | Rander Wang | 27 September 2018, 07:52:51 UTC | ASoC: SOF: Refine registeration of platform device Machine driver may check some HW features which are probed by SOF core driver. So platform device for machine driver should be registered after SOF core is ready. And at this time, dais of SOF have been registered to ASOC. It is better to register card now. Signed-off-by: Rander Wang <rander.wang@linux.intel.com> | 28 September 2018, 08:38:49 UTC |
1f6c9cf | Pan Xiuli | 26 September 2018, 12:53:49 UTC | ASoC: sof: add panic info into panic dump Panic info include filename and line number that panic called, dump this info when panic happen. And output panic info when panic happen to help debug. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com> | 28 September 2018, 07:49:10 UTC |
abc6888 | Pan Xiuli | 26 September 2018, 12:50:38 UTC | ASoC: sof: ipc: add sof_ipc_panic_info Use sof_ipc_panic_info to store panic info include filename and line number. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com> | 28 September 2018, 07:49:10 UTC |
51ebd5d | Guennadi Liakhovetski | 11 September 2018, 13:12:57 UTC | sound: fix build on Alpha A randconfig test managed to find a configuration, which breaks with undefined PAGE_SIZE and PAGE_SHIFT. Include a header to guarantee, that they are defined in all configurations. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@intel.com> | 26 September 2018, 14:54:09 UTC |
323c12c | Bard liao | 25 September 2018, 12:27:41 UTC | ASoC: SOF: topology: free unused item before return. sroute and connect are no longer used if we don't add it to the list. Signed-off-by: Bard liao <bard.liao@intel.com> | 26 September 2018, 10:32:00 UTC |
3f22cc6 | Bard liao | 25 September 2018, 09:20:57 UTC | Revert "ASoC: SOF: use devm_kzalloc" This reverts commit 801d1765db4eec9acaaeb58edc20c64c91c2f20a. Signed-off-by: Bard liao <bard.liao@intel.com> | 26 September 2018, 10:32:00 UTC |
e0097b0 | Bard liao | 25 September 2018, 09:20:05 UTC | Revert "ASoC: SOF: use devm_kfree" This reverts commit 108d9cf3daec51bfd01211a7e9585013131f612a. Signed-off-by: Bard liao <bard.liao@intel.com> | 26 September 2018, 10:32:00 UTC |
160b45f | Zhu Yingjiang | 25 September 2018, 09:32:44 UTC | ASoC: SOF: skl add cl_stream_prepare_skl v3 Signed-off-by: Zhu Yingjiang <yingjiang.zhu@linux.intel.com> | 25 September 2018, 11:02:45 UTC |
8befd75 | Ranjani Sridharan | 25 September 2018, 00:29:57 UTC | ASoC: SOF: use resume instead of resume_early This patch fixes commit (aa838fd) that causes kernel errors while resuming from suspend. hdac display power cannot be turned on before i915 is resumed. So switch back to using resume instead of resume_early. But we still need to power off the dsp and the hdac display power in suspend_late. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 25 September 2018, 10:30:45 UTC |
ea4b035 | Ranjani Sridharan | 25 September 2018, 06:28:23 UTC | ASoC: SOF: do not reset HDA controller during suspend Resetting the HDA controller during suspend seems to cause a system suspend failure. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 25 September 2018, 10:00:55 UTC |
b5cde88 | Seppo Ingalsuo | 11 September 2018, 10:57:13 UTC | ASoC: SOF: Use header struct with ext bytes put/get data and add checks This patch adds to bytes put a check to not exceed the topology defined bytes control length. The tlv control header is used for retrieving length instead to directly access the header words. In bytes get the size field in the header is set the to the value that is passed to the function minus the header length. It prevents to write past the user space buffer. The size parameter originates from topology. Checks for size violations vs. topology and IPC are added. The other changes add debug prints to kernel log to see the actual size limits and do code cleanup. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com> | 24 September 2018, 15:12:06 UTC |
342b260 | Ranjani Sridharan | 24 September 2018, 07:14:13 UTC | ASoC: SOF: reset scontrol readback control after resuming Reset scontrol readback_offset after resuming from runtime pm or system suspend as it is not valid anymore. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 24 September 2018, 14:57:10 UTC |
aa838fd | Ranjani Sridharan | 24 September 2018, 06:56:36 UTC | ASoC: SOF: use suspend_late/resume_early instead of suspend/resume The normal behaviour for PCI devices is that when the system suspend occurs while the device is runtime suspended, its runtime_resume method gets called to bring it back to full power. This seems to cause race condition between runtime_resume and system suspend and prevents the system from entering S2. Also, it is recommended that bus controllers be suspended in the late suspend phase and resumed in the resume early phase. This ensures that the runtime pm for the devices is disabled before the suspend_late is called. Therefore, switch to using suspend_late and resume_early for the SOF PCI device. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Harshapriya N <harshapriya.n@intel.com> | 24 September 2018, 14:57:10 UTC |
3d863db | Ranjani Sridharan | 24 September 2018, 06:53:35 UTC | ASoC: SOF: Separate out runtime suspend and system suspend routines This change mirrors the changes in the previous patch (commit id: 7128681) that separates out runtime resume and system resume. During system suspend the hdac display power needs to be turned off after powering down the hda controller and DSP. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 24 September 2018, 14:57:10 UTC |
9d17c65 | Jaska Uimonen | 09 September 2018, 17:01:30 UTC | ASOC: SOF: topology: change eq to use effect type Parse iir and fir eq from widget data field specifying the effect type. Parse also optional initial eq params sent in the eq control's private data. Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com> | 24 September 2018, 14:54:04 UTC |
53c732e | Jaska Uimonen | 09 September 2018, 16:54:52 UTC | ASOC: SOF: topology: introduce effect type for widgets Introduce effect type enumeration and vendor type to differentiate between effects. We can use these types to build multieffect pipelines in the topology and parse those in the sof driver to send the correct ipc messages to DSP firmware. Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com> | 24 September 2018, 14:54:04 UTC |
1b07494 | Guennadi Liakhovetski | 20 September 2018, 13:42:14 UTC | soc: fix a use after free case Unloading ASoC modules as used by the SOF driver leads to an object being used after it's been freed. Fix this be clearing a reference to it and making sure to check for its presence. This fixes issue #144. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@intel.com> | 20 September 2018, 14:57:06 UTC |
0064eda | Keyon Jie | 19 September 2018, 10:26:52 UTC | ASoC: SOF: Intel: fix suspend/resume for non-HDA mode. For non-HDA mode, we don't handle the pp and init/stop chip related, here correct it. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com> | 20 September 2018, 11:24:29 UTC |
556f44a | Zhu Yingjiang | 19 September 2018, 10:31:25 UTC | ASoC:SOF:skl enable the ioc enabled the ioc, and fix BAR bug, the firmware status now can get Signed-off-by: Zhu Yingjiang <yingjiang.zhu@linux.intel.com> | 20 September 2018, 10:51:19 UTC |
7128681 | Ranjani Sridharan | 20 September 2018, 06:08:20 UTC | ASoC: SOF: separate system sleep and runtime PM calls for SKL+ platforms Previously, identical suspend/resume sequences for runtime PM and system suspend/resume caused a significant delay in resume times after system suspend. This patch separates the calls for SKL+ platforms and introduces the display power ON step during resume from system idle that fixes the long resume time issue. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 20 September 2018, 07:09:36 UTC |
108d9cf | Bard liao | 19 September 2018, 14:19:16 UTC | ASoC: SOF: use devm_kfree sroute is allocated by devm_kzalloc and it should be freed by devm_kfree. Signed-off-by: Bard liao <yung-chuan.liao@intel.com> | 19 September 2018, 19:36:42 UTC |
9544ae5 | Bard liao | 19 September 2018, 14:16:28 UTC | ASoC: SOF: intel: use devm_kfree stream is allocated by devm_kzalloc and it should be freed by devm_kfree. Signed-off-by: Bard liao <yung-chuan.liao@intel.com> | 19 September 2018, 19:36:42 UTC |
bc51a6f | Wu Zhigang | 28 August 2018, 05:43:11 UTC | ASoC:topology:bug fix:check return value avoid oops. check the return value to free the kcontrols instance to avoid oops caused by the pointer dereference. Signed-off-by: Wu Zhigang <zhigang.wu@linux.intel.com> [guennadi.liakhovetski@intel.com add handling of .autodisable=1 cases] | 18 September 2018, 13:02:25 UTC |
801d176 | Bard liao | 18 September 2018, 09:55:27 UTC | ASoC: SOF: use devm_kzalloc use devm_kzalloc to prevent memory leak. Signed-off-by: Bard liao <yung-chuan.liao@intel.com> | 18 September 2018, 12:58:54 UTC |
0ec5600 | Bard liao | 18 September 2018, 09:43:10 UTC | ASoC: SOF: intel: use devm_kzalloc use devm_kzalloc to prevent memory leak. Signed-off-by: Bard liao <yung-chuan.liao@intel.com> | 18 September 2018, 12:58:54 UTC |
71e321c | Bard liao | 18 September 2018, 09:12:55 UTC | ASoC: SOF: debug: fix potential memory leak issue free dynamic allocated buf betore return. Signed-off-by: Bard liao <yung-chuan.liao@intel.com> | 18 September 2018, 12:58:54 UTC |
c3ba91f | Ranjani Sridharan | 17 September 2018, 03:31:40 UTC | ASoC: SOF: enable S2idle entry on SKL+ platforms This patch adds the missing register write sequences to disable/enable the hda controller during suspend/resume. This facilitates the entry of S2idle on SKL+ platforms. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 17 September 2018, 18:45:46 UTC |
a84d54b | Zhu Yingjiang | 10 September 2018, 09:06:29 UTC | ASoC:SOF:skl:enable the core and get the ROM init 1. enable the skl core 2. get the ROM int Signed-off-by: Zhu Yingjiang <yingjiang.zhu@linux.intel.com> | 17 September 2018, 14:08:21 UTC |
50792bc | Zhu Yingjiang | 14 September 2018, 07:19:20 UTC | ASoC: SOF: skl enable the skl/kbl ops, instead of using apl_ops v2 Signed-off-by: Zhu Yingjiang <yingjiang.zhu@linux.intel.com> | 14 September 2018, 12:21:43 UTC |
a224ab2 | Keyon Jie | 14 September 2018, 08:31:40 UTC | ASoC: SOF: only elapse/inform ALSA for irq mode Signed-off-by: Keyon Jie <yang.jie@linux.intel.com> | 14 September 2018, 11:34:48 UTC |