Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GIT PULL] sound updates for 5.15-rc1 #2

Closed
wants to merge 462 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
462 commits
Select commit Hold shift + click to select a range
2f535e2
Merge series "ASoC: Intel: bytcr_rt5640: Fix HP ElitePad 1000 G2 audi…
broonie Aug 2, 2021
b189dde
Merge series "soundwire/ASoC: abstract platform-dependent bases" from…
broonie Aug 2, 2021
d125459
ALSA: usb-audio: make array static const, makes object smaller
Aug 3, 2021
b8cab69
ASoC: Intel: sof_sdw: add quirk for Dell XPS 9710
plbossart Aug 2, 2021
46fa9a1
ASoC: SOF: Intel: Use DMI string to search for adl_mx98373_rt5682 var…
jairaj-arava Aug 2, 2021
22414ca
ASoC: Intel: update sof_pcm512x quirks
plbossart Aug 2, 2021
d432127
ASoC: Intel: sof_sdw_max98373: remove useless inits
plbossart Aug 2, 2021
58f42df
ASoC: soc-ops: cleanup cppcheck warning at snd_soc_put_volsw_sx()
morimoto Aug 3, 2021
872040f
ASoC: soc-ops: cleanup cppcheck warning at snd_soc_limit_volume()
morimoto Aug 3, 2021
b1ebecb
ASoC: soc-ops: cleanup cppcheck warning at snd_soc_get_xr_sx()
morimoto Aug 3, 2021
b285b51
ASoC: soc-ops: cleanup cppcheck warning at snd_soc_put_xr_sx()
morimoto Aug 3, 2021
0d73297
ASoC: codecs: ad193x: add support for 96kHz and 192kHz playback rates
codrin989 Aug 3, 2021
5c8a7ef
ASoC: rt5514: make array div static const, makes object smaller
Aug 1, 2021
8ff9392
Merge series "ASoC: SOF/Intel: machine driver updates" from Pierre-Lo…
broonie Aug 3, 2021
f3f5798
Merge series "ASoC: soc-ops: cleanup cppcheck warning" from Kuninori …
broonie Aug 3, 2021
edcade2
ASoC: mediatek: mt6359: convert to use module_platform_driver
iwamatsu-t May 31, 2021
723c125
ALSA: memalloc: Minor refactoring
tiwai Aug 2, 2021
58a95df
ALSA: memalloc: Correctly name as WC
tiwai Aug 2, 2021
ac9245a
ALSA: pcm: Allow exact buffer preallocation
tiwai Aug 2, 2021
d5c5055
ALSA: memalloc: Support WC allocation on all architectures
tiwai Aug 2, 2021
7f2da3d
ALSA: pxa2xx: Use managed PCM buffer allocation
tiwai Aug 2, 2021
13ce4d8
ASoC: bcm: Use managed PCM buffer allocation
tiwai Aug 2, 2021
f010a49
ASoC: fsl: imx-pcm-fiq: Use managed buffer allocation
tiwai Aug 2, 2021
0e1b598
ASoC: fsl: imx-pcm-rpmsg: Use managed buffer allocation
tiwai Aug 2, 2021
1893648
ASoC: tegra: Use managed buffer allocation
tiwai Aug 2, 2021
1855ce6
ASoC: fsl_asrc_dma: Use managed buffer allocation
tiwai Aug 2, 2021
e159704
ASoC: fsl_dma: Use managed buffer allocation
tiwai Aug 2, 2021
3610a6d
ASoC: mpc5200: Use managed buffer allocation
tiwai Aug 2, 2021
15a52cd
ASoC: qcom: lpass: Use managed buffer allocation
tiwai Aug 2, 2021
8c505b7
ASoC: qcom: qdsp6: Use managed buffer allocation
tiwai Aug 2, 2021
ba44728
ASoC: sprd: Use managed buffer allocation
tiwai Aug 2, 2021
623c101
ALSA: memalloc: Fix pgprot for WC mmap on x86
tiwai Aug 4, 2021
f84ba10
ALSA: memalloc: Store snd_dma_buffer.addr for continuous pages, too
tiwai Aug 4, 2021
f2553d4
ASoC: amd: vangogh: Drop superfluous mmap callback
tiwai Aug 4, 2021
ddddc0d
ALSA: pci/korg1212: completely remove 'set but not used' warnings
plbossart Aug 4, 2021
df8bcf3
ALSA: es1688: Avoid devres management for es1688 object creation
tiwai Aug 5, 2021
7453d6d
ASoC: soc-dapm: cleanup cppcheck warning at dapm_wcache_lookup()
morimoto Aug 5, 2021
af6b57a
ASoC: soc-dapm: cleanup cppcheck warning at dapm_connect_mux()
morimoto Aug 5, 2021
29155bb
ASoC: soc-dapm: cleanup cppcheck warning at dapm_set_mixer_path_status()
morimoto Aug 5, 2021
a16cfb1
ASoC: soc-dapm: cleanup cppcheck warning at dapm_new_pga()
morimoto Aug 5, 2021
5c52e48
ASoC: soc-dapm: cleanup cppcheck warning at dapm_new_dai_link()
morimoto Aug 5, 2021
65f7316
ASoC: soc-dapm: cleanup cppcheck warning at dapm_seq_check_event()
morimoto Aug 5, 2021
a716579
ASoC: soc-dapm: cleanup cppcheck warning at dapm_seq_run()
morimoto Aug 5, 2021
fd5ad23
ASoC: soc-dapm: cleanup cppcheck warning at snd_soc_dapm_del_route()
morimoto Aug 5, 2021
fcb3f19
ASoC: soc-dapm: cleanup cppcheck warning at snd_soc_dapm_add_routes()
morimoto Aug 5, 2021
fd136fd
ASoC: soc-dapm: cleanup cppcheck warning at snd_soc_dapm_weak_routes()
morimoto Aug 5, 2021
3dc72e4
ASoC: soc-dapm: cleanup cppcheck warning at snd_soc_dapm_new_controls()
morimoto Aug 5, 2021
f2ff5fb
ASoC: soc-dapm: cleanup cppcheck warning at soc_dapm_dai_stream_event()
morimoto Aug 5, 2021
221034a
ASoC: max98090: remove duplicate status reads and useless assignmment
plbossart Aug 4, 2021
c18abd0
ASoC: mt6359-accdet.c: remove useless assignments
plbossart Aug 4, 2021
8c62dbc
ASoC: wcd938x: simplify return value
plbossart Aug 4, 2021
36a9d79
ASoC: simple-card-utils: Avoid over-allocating DLCs
smaeul Aug 5, 2021
7002ab4
Merge series "ASoC: soc-dapm: cleanup cppcheck warning" from Kuninori…
broonie Aug 5, 2021
41bc951
Merge series "ASoC: codecs: cppcheck warnings" from Pierre-Louis Boss…
broonie Aug 5, 2021
bcee7ed
ASoC: codecs: wcd938x: add Multi Button Headset Control support
Srinivas-Kandagatla Jul 16, 2021
585fb31
ASoC: rt5640: Silence warning message about missing interrupt
digetx Aug 2, 2021
b962bae
ASoC: cs42l42: Add PLL configuration for 44.1kHz/16-bit
rfvirgil Aug 5, 2021
24cdbb7
ASoC: cs42l42: Validate dai_set_sysclk() frequency
rfvirgil Aug 5, 2021
c76d572
ASoC: cs42l42: Assume 24-bit samples are in 32-bit slots
rfvirgil Aug 5, 2021
e2f6867
ASoC: cs42l42: Update module authors
rfvirgil Aug 5, 2021
ddaa1ed
Merge some cs42l42 patches into asoc-5.15
broonie Aug 6, 2021
9732c14
ALSA: memalloc: Fix mmap of SG-buffer with WC pages
tiwai Aug 8, 2021
ad797a0
Merge branch 'for-linus' into for-next
tiwai Aug 9, 2021
2c86446
ALSA: harmony: Drop superfluous address setup
tiwai Aug 9, 2021
cbea6e5
ALSA: pcm: Check mmap capability of runtime dma buffer at first
tiwai Aug 9, 2021
0899a7a
ALSA: pci: rme: Set up buffer type properly
tiwai Aug 9, 2021
4d9e915
ALSA: pci: cs46xx: Fix set up buffer type properly
tiwai Aug 9, 2021
1e2c784
ASoC: qcom: apq8016_sbc: Add SEC_MI2S support
vknecht Aug 6, 2021
e05f9ee
ASoC: qdsp6: q6asm: fix cppcheck warnings for unnecessary initialization
Srinivas-Kandagatla Aug 9, 2021
455ecc8
ASoC: qdsp6: q6adm: fix cppcheck warnings for unnecessary initialization
Srinivas-Kandagatla Aug 9, 2021
ca4c5b3
ALSA: msnd: Use proper mmap method
tiwai Aug 9, 2021
a10facb
ASoC: max98390: Add support change dsm param name
steveslee Aug 9, 2021
6d0a764
ASoC: rt1015p: add new acpi id and comapatible id
Aug 9, 2021
064478e
ASoC: dt-bindings: rt1015p: add new compatible id
Aug 9, 2021
f4eeaed
ASoC: Intel: Fix platform ID matching
cujomalainey Aug 9, 2021
eb7ab74
ASoC: dt-bindings: rt1015p: fix syntax error in dts-binding document
Aug 10, 2021
cf2a19f
ASoC: rt5682: Adjust headset volume button threshold again
oortcomet Aug 11, 2021
772d445
ASoC: rt5682: Properly turn off regulators if wrong device ID
dianders Aug 11, 2021
8c70461
ALSA: hda/cirrus: Move CS8409 HDA bridge to separate module
Aug 11, 2021
9e7647b
ALSA: hda/cs8409: Move arrays of configuration to a new file
Aug 11, 2021
ccff006
ALSA: hda/cs8409: Use enums for register names and coefficients
Aug 11, 2021
cab82a2
ALSA: hda/cs8409: Mask all CS42L42 interrupts on initialization
Aug 11, 2021
29dbb9b
ALSA: hda/cs8409: Reduce HS pops/clicks for Cyborg
Aug 11, 2021
1f03db6
ALSA: hda/cs8409: Disable unnecessary Ring Sense for Cyborg/Warlock/B…
Aug 11, 2021
cc7df16
ALSA: hda/cs8409: Disable unsolicited responses during suspend
Aug 11, 2021
134ae78
ALSA: hda/cs8409: Disable unsolicited response for the first boot
Aug 11, 2021
1e0a975
ALSA: hda/cs8409: Mask CS42L42 wake events
Aug 11, 2021
db0ae84
ALSA: hda/cs8409: Simplify CS42L42 jack detect.
Aug 11, 2021
a1a6c7d
ALSA: hda/cs8409: Prevent I2C access during suspend time
Aug 11, 2021
b2a8877
ALSA: hda/cs8409: Generalize volume controls
Aug 11, 2021
647d50a
ALSA: hda/cs8409: Dont disable I2C clock between consecutive accesses
Aug 11, 2021
d395fd7
ALSA: hda/cs8409: Avoid setting the same I2C address for every access
Aug 11, 2021
8de4e5a
ALSA: hda/cs8409: Avoid re-setting the same page as the last access
Aug 11, 2021
165b81c
ALSA: hda/cs8409: Support i2c bulk read/write functions
Aug 11, 2021
636eb9d
ALSA: hda/cs8409: Separate CS8409, CS42L42 and project functions
Aug 11, 2021
24f7ac3
ALSA: hda/cs8409: Move codec properties to its own struct
Aug 11, 2021
c076e20
ALSA: hda/cs8409: Support multiple sub_codecs for Suspend/Resume/Unso…
Aug 11, 2021
404e770
ALSA: hda/cs8409: Add Support to disable jack type detection for CS42L42
Aug 11, 2021
20e5077
ALSA: hda/cs8409: Add support for dolphin
Aug 11, 2021
e4e6c58
ALSA: hda/cs8409: Enable Full Scale Volume for Line Out Codec on Dolphin
Aug 11, 2021
fed0aac
ALSA: hda/cs8409: Set fixed sample rate of 48kHz for CS42L42
Aug 11, 2021
928adf0
ALSA: hda/cs8409: Use timeout rather than retries for I2C transaction…
Aug 11, 2021
c8b4f08
ALSA: hda/cs8409: Remove unnecessary delays
Aug 11, 2021
4ff2ae3
ALSA: hda/cs8409: Follow correct CS42L42 power down sequence for suspend
Aug 11, 2021
7482ec7
ALSA: hda/cs8409: Unmute/Mute codec when stream starts/stops
Aug 11, 2021
360a581
ALSA: core: control_led: use strscpy instead of strlcpy
plbossart Aug 12, 2021
0c4aa67
ALSA: hda_audio_ext: fix kernel-doc
plbossart Aug 12, 2021
1a04830
ALSA: hda/cs8409: Prevent pops and clicks during suspend
Aug 12, 2021
bda36b0
ALSA: memalloc: Count continuous pages in vmalloc buffer handler
tiwai Aug 13, 2021
6f28c88
ASoC: SOF: Intel: Kconfig: clarify DMI L1 option description
plbossart Aug 12, 2021
d2556ed
ASoC: SOF: Intel: hda-stream: remove always true condition
plbossart Aug 12, 2021
5503e93
ASoC: SOF: Intel: simplify logic for DMI_L1 handling
plbossart Aug 12, 2021
246dd42
ASoC: SOF: Intel: make DMI L1 selection more robust
plbossart Aug 12, 2021
03e786b
ASoC: sh: Add RZ/G2L SSIF-2 driver
bijudas Aug 13, 2021
bed0b1c
ASoC: dt-bindings: renesas,rz-ssi: Update slave dma channel configura…
bijudas Aug 13, 2021
26ac471
ASoC: sh: rz-ssi: Add SSI DMAC support
bijudas Aug 13, 2021
a1ea057
ASoC: rt5682: Remove unused variable in rt5682_i2c_remove()
dianders Aug 13, 2021
c50f126
ASoC: Intel: boards: harden codec property handling
plbossart Aug 13, 2021
69efe3b
ASoC: Intel: boards: handle errors with acpi_dev_get_first_match_dev()
plbossart Aug 13, 2021
d3409eb
ASoC: Intel: boards: get codec device with ACPI instead of bus search
plbossart Aug 13, 2021
cdf99c9
ASoC: Intel: sof_sdw: pass card information to init/exit functions
plbossart Aug 13, 2021
8202758
ASoC: Intel: sof_sdw_rt711*: keep codec device reference until remove
plbossart Aug 13, 2021
e5a292d
ASoC: Intel: use software node API in SoundWire machines
plbossart Aug 13, 2021
f1f8a96
ASoC: Intel: remove device_properties for Atom boards
plbossart Aug 13, 2021
0bd3c07
ASoC: Intel: boards: use software node API in Atom boards
Aug 13, 2021
6d9d165
Merge series "ASoC: SOF: Intel: DMI L1 power optimization for HDaudio…
broonie Aug 13, 2021
f84f6ee
Merge series "Add RZ/G2L Sound support" from Biju Das <biju.das.jz@bp…
broonie Aug 13, 2021
31e53e1
Merge series "ASoC: Intel: boards: use software node API" from Pierre…
broonie Aug 13, 2021
7ac2246
ALSA: usb-audio: Input source control - digidesign mbox
zamaudio Aug 13, 2021
81be109
ALSA: pcm: Add SNDRV_PCM_INFO_EXPLICIT_SYNC flag
tiwai Aug 13, 2021
95dc85d
ALSA: hda: conexant: Turn off EAPD at suspend, too
tiwai Aug 13, 2021
b98444e
ALSA: hda: Suspend codec at shutdown
tiwai Aug 13, 2021
327b34f
ALSA: hda: Nuke unused reboot_notify callback
tiwai Aug 13, 2021
0a1e5ac
ASoC: soc-generic-dmaengine-pcm: cleanup cppcheck warning at dmaengin…
morimoto Aug 16, 2021
9cec66f
ASoC: soc-generic-dmaengine-pcm: cleanup cppcheck warning at dmaengin…
morimoto Aug 16, 2021
a265976
ASoC: soc-generic-dmaengine-pcm: cleanup cppcheck warning at dmaengin…
morimoto Aug 16, 2021
d490f4e
ASoC: soc-dai: cleanup cppcheck warning at snd_soc_dai_link_set_capab…
morimoto Aug 16, 2021
454a742
ASoC: soc-dai: cleanup cppcheck warning at snd_soc_pcm_dai_new()
morimoto Aug 16, 2021
c2dea1f
ASoC: soc-jack: cleanup cppcheck warning at snd_soc_jack_report()
morimoto Aug 16, 2021
c757790
ASoC: soc-jack: cleanup cppcheck warning for CONFIG_GPIOLIB
morimoto Aug 16, 2021
500b39d
ASoC: soc-component: cleanup cppcheck warning at snd_soc_pcm_componen…
morimoto Aug 16, 2021
834a36d
ASoC: soc-ac97: cleanup cppcheck warning
morimoto Aug 16, 2021
80165bb
ASoC: tegra30: ahub: Use of_device_get_match_data
aakashhemadri Aug 14, 2021
356b94a
ASoC: tegra30: i2s: Use of_device_get_match_data
aakashhemadri Aug 14, 2021
f75953b
Merge series "ASoC: soc-xxx: cleanup cppcheck warning" from Kuninori …
broonie Aug 16, 2021
d40dfb8
ASoC: sh: rz-ssi: Fix dereference of noderef expression warning
bijudas Aug 16, 2021
c0a7f93
Merge branch 'for-linus' into for-next
tiwai Aug 17, 2021
8fc8e90
ALSA: hda: Drop workaround for a hang at shutdown again
tiwai Aug 17, 2021
ea2efed
ASoC: tegra30: ahub: Fix incorrect usage of of_device_get_match_data
aakashhemadri Aug 16, 2021
240fdf3
ASoC: tegra30: i2s: Fix incorrect usage of of_device_get_match_data
aakashhemadri Aug 16, 2021
1b5d1d3
ASoC: sh: rz-ssi: Fix wrong operator used issue
bijudas Aug 16, 2021
f8043ef
ASoC: Intel: bytcr_rt5640: Use cfg-lineout:2 in the components string
jwrdegoede Aug 16, 2021
2499ee9
Merge series "ASoC: tegra30: Fix use of of_device_get_match_data" fro…
broonie Aug 17, 2021
f8b32a6
ALSA: hda/sigmatel - Sink stac_shutup() into stac_suspend()
nathanchance Aug 18, 2021
d2d8375
ALSA: hda/analog - Sink ad198x_shutup() and shuffle CONFIG_PM guards
nathanchance Aug 18, 2021
2fbbcff
ASoC: fsl_rpmsg: Check -EPROBE_DEFER for getting clocks
TE-N-ShengjiuWang Aug 18, 2021
4b14f17
ASoC: sh: rz-ssi: Improve error handling in rz_ssi_dma_request function
bijudas Aug 18, 2021
5d925d9
ASoC: uniphier: make arrays mul and div static const, makes object sm…
Aug 18, 2021
5caab9f
ASoC: rt5640: Move rt5640_disable_jack_detect() up in the rt5640.c file
jwrdegoede Aug 19, 2021
15d5484
ASoC: rt5640: Delay requesting IRQ until the machine-drv calls set_jack
jwrdegoede Aug 19, 2021
d21213b
ASoC: rt5640: Add optional hp_det_gpio parameter to rt5640_detect_hea…
jwrdegoede Aug 19, 2021
e3f2a66
ASoC: rt5640: Add rt5640_set_ovcd_params() helper
jwrdegoede Aug 19, 2021
0a61bcb
ASoC: Intel: bytct_rt5640: Add a separate "Headset Mic 2" DAPM pin fo…
jwrdegoede Aug 19, 2021
9ba0085
ASoC: Intel: bytcr_rt5640: Add support for HP Elite Pad 1000G2 jack-d…
jwrdegoede Aug 19, 2021
28889de
ASoC: rsnd: core: make some arrays static const, makes object smaller
morimoto Aug 20, 2021
cc64c39
ASoC: rsnd: adg: clearly handle clock error / NULL case
morimoto Aug 20, 2021
77eca00
Merge series "ASoC: Intel/rt5640: Add support for HP Elite Pad 1000G2…
broonie Aug 20, 2021
13d9c6b
ALSA: hda/realtek: Workaround for conflicting SSID on ASUS ROG Strix G17
tiwai Aug 20, 2021
23c671b
ALSA: firewire-motu: add support for MOTU 896HD
takaswie Aug 23, 2021
73355dd
ALSA: hda: Code refactoring snd_hda_pick_fixup()
tiwai Aug 23, 2021
a235d5b
ALSA: hda: Allow model option to specify PCI SSID alias
tiwai Aug 23, 2021
4a1672d
ALSA: hda: Update documentation for aliasing via the model option
tiwai Aug 23, 2021
2231af7
ALSA: doc: Fix indentation warning
tiwai Aug 23, 2021
539a509
Merge branch 'for-linus' into for-next
tiwai Aug 23, 2021
e28ac04
ASoC: intel: atom: Revert PCM buffer address setup workaround again
tiwai Aug 22, 2021
6d41bbf
ASoC: Intel: kbl_da7219_max98927: Fix format selection for max98373
crojewsk-intel Aug 18, 2021
126b342
ASoC: Intel: Skylake: Leave data as is when invoking TLV IPCs
crojewsk-intel Aug 18, 2021
87b2652
ASoC: Intel: Skylake: Select proper format for NHLT blob
Aug 18, 2021
e8b374b
ASoC: Intel: Skylake: Fix module resource and format selection
crojewsk-intel Aug 18, 2021
e4e0633
ASoC: Intel: Skylake: Fix module configuration for KPB and MIXER
crojewsk-intel Aug 18, 2021
c5ed9c5
ASoC: Intel: Skylake: Fix passing loadable flag for module
gustaw Aug 18, 2021
e4e95d8
ASoC: Intel: Skylake: Simplify m_state for loadable modules
gustaw Aug 18, 2021
a4ad42d
ASoC: Intel: Skylake: Support multiple format configs
kareemshaik80 Aug 18, 2021
db5a3f8
ASoC: Intel: Skylake: Support modules with generic extension
Aug 18, 2021
5b27a71
ASoC: Intel: Skylake: Properly configure modules with generic extension
pawelh07 Aug 18, 2021
b947d2b
ASoC: Intel: Skylake: Select first entry for singular pipe config arrays
crojewsk-intel Aug 18, 2021
43d2c49
ASoC: ics43432: add CMM-4030D-261 support
adureghello-ts Aug 21, 2021
0f28b69
dt-bindings: add compatible vendor prefix for CUI Devices
adureghello-ts Aug 21, 2021
c7bd589
ASoC: ics43432: add compatible for CUI Devices
adureghello-ts Aug 21, 2021
0aeb17d
ASoC: rt1015p: correct indentation
krzk Aug 19, 2021
a5ec377
ASoC: Intel: bytcr_rt5640: Mark hp_elitepad_1000g2_jack?_check functi…
jwrdegoede Aug 23, 2021
d019403
ASoC: rt1015: remove possible unused variable `bclk_ms'
Aug 23, 2021
6f02c08
Merge series "ASoC: Intel: Skylake: Fix and support complex" from Cez…
broonie Aug 23, 2021
7af5a14
ALSA: usb-audio: Fix regression on Sony WALKMAN NW-A45 DAC
tiwai Aug 24, 2021
93ab3ea
ALSA: hda/realtek: Quirk for HP Spectre x360 14 amp setup
johnclark456 Aug 23, 2021
1a10d5b
Merge branch 'for-linus' into for-next
tiwai Aug 24, 2021
6e41340
ALSA: usb-audio: Move set-interface-first workaround into common quirk
tiwai Aug 24, 2021
e6d0b92
ASoC: wm_adsp: Put debugfs_remove_recursive back in
charleskeepax Aug 24, 2021
cab2b9e
ASoC: mediatek: mt8195: update mediatek common driver
wenliangwu Aug 19, 2021
d62ad76
ASoC: mediatek: mt8195: support audsys clock control
wenliangwu Aug 19, 2021
1de9a54
ASoC: mediatek: mt8195: support etdm in platform driver
wenliangwu Aug 19, 2021
3de3eba
ASoC: mediatek: mt8195: support adda in platform driver
wenliangwu Aug 19, 2021
1f95c01
ASoC: mediatek: mt8195: support pcm in platform driver
wenliangwu Aug 19, 2021
6746cc8
ASoC: mediatek: mt8195: add platform driver
wenliangwu Aug 19, 2021
b5bac34
dt-bindings: mediatek: mt8195: add audio afe document
wenliangwu Aug 19, 2021
40d605d
ASoC: mediatek: mt8195: add machine driver with mt6359, rt1019 and rt…
wenliangwu Aug 19, 2021
e581e30
ASoC: mediatek: mt8195: add DPTX audio support
wenliangwu Aug 19, 2021
ef46cd4
ASoC: mediatek: mt8195: add HDMITX audio support
wenliangwu Aug 19, 2021
5f8c991
dt-bindings: mediatek: mt8195: add mt8195-mt6359-rt1019-rt5682 document
wenliangwu Aug 19, 2021
0be10d7
ASoC: SOF: intel: remove duplicate include
Aug 24, 2021
88939e7
Merge series "ASoC: mediatek: Add support for MT8195 SoC" from Trevor…
broonie Aug 25, 2021
2d02e7d
Merge branch 'for-5.14' of https://git.kernel.org/pub/scm/linux/kerne…
broonie Aug 25, 2021
dc2d01c
ASoC: Intel: bytcr_rt5640: Make rt5640_jack_gpio/rt5640_jack2_gpio st…
ujfalusi Aug 25, 2021
8d3019b
ASoC: rt5682: Fix the vol+ button detection issue
oortcomet Aug 25, 2021
a8946f0
ASoC: imx-rpmsg: change dev_err to dev_err_probe for -EPROBE_DEFER
TE-N-ShengjiuWang Aug 25, 2021
2fd276c
ASoC: dwc: Get IRQ optionally
rmurphy-arm Aug 25, 2021
11a08e0
ASoC: mediatek: mt8195: Fix spelling mistake "bitwiedh" -> "bitwidth"
Aug 26, 2021
023a3f3
ASoC: rockchip: spdif: Mark SPDIF_SMPDR as volatile
Aug 24, 2021
acc8b9d
ASoC: rockchip: spdif: Fix some coding style
Aug 24, 2021
c5d4f09
ASoC: rockchip: spdif: Add support for rk3568 spdif
Aug 24, 2021
e79ef3c
ASoC: dt-bindings: rockchip: Add compatible for rk3568 spdif
Aug 24, 2021
ebfea67
ASoC: rockchip: i2s: Add support for set bclk ratio
Aug 26, 2021
6b76bcc
ASoC: rockchip: i2s: Fixup clk div error
Aug 26, 2021
7a2df53
ASoC: rockchip: i2s: Improve dma data transfer efficiency
Aug 26, 2021
53ca9b9
ASoC: rockchip: i2s: Fix regmap_ops hang
Aug 26, 2021
296713a
ASoC: dt-bindings: rockchip: Document reset property for i2s
Aug 26, 2021
1bf5684
ASoC: rockchip: i2s: Fixup config for DAIFMT_DSP_A/B
Aug 26, 2021
4455f26
ASoC: rockchip: i2s: Make playback/capture optional
Aug 26, 2021
f005dc6
ASoC: rockchip: i2s: Add compatible for more SoCs
Aug 26, 2021
d5ceed0
ASoC: dt-bindings: rockchip: Add compatible strings for more SoCs
Aug 26, 2021
917f077
ASoC: rockchip: i2s: Add support for frame inversion
Aug 26, 2021
dac825b
Merge series "Patches to update for rockchip spdif" from Sugar Zhang …
broonie Aug 26, 2021
515b436
Merge series "Patches to update for rockchip i2s" from Sugar Zhang <s…
broonie Aug 26, 2021
2eaf163
ALSA: hda: Disable runtime resume at shutdown
tiwai Aug 26, 2021
7a6a723
ASoC: wcd9335: Fix a double irq free in the remove function
tititiou36 Aug 16, 2021
fc6fc81
ASoC: wcd9335: Fix a memory leak in the error handling path of the pr…
tititiou36 Aug 16, 2021
d3efd26
ASoC: wcd9335: Disable irq on slave ports in the remove function
tititiou36 Aug 16, 2021
0c75fc7
ASoC: soc-pcm: protect BE dailink state changes in trigger
plbossart Aug 17, 2021
6479f75
ASoC: soc-pcm: test refcount before triggering
plbossart Aug 17, 2021
52c64e5
Merge series "ASoC: wcd9335: Firx some resources leak in the probe an…
broonie Aug 26, 2021
f3eef46
ALSA: pcm: fix divide error in snd_pcm_lib_ioctl
Aug 27, 2021
4267c5a
ALSA: usb-audio: Work around for XRUN with low latency playback
tiwai Aug 27, 2021
424e531
ALSA: hda/cs8409: Ensure Type Detection is only run on startup when n…
Aug 27, 2021
ea41a49
ALSA: hda/cs8409: Initialize Codec only in init fixup.
Aug 27, 2021
4801bee
ALSA: usb-audio: Add lowlatency module option
tiwai Aug 29, 2021
f7b82b1
Merge branch 'for-linus' into for-next
tiwai Aug 30, 2021
3202e2f
ASoC: Revert PCM trigger changes
broonie Aug 30, 2021
a617f7d
Merge remote-tracking branch 'asoc/for-5.14' into asoc-linus
broonie Aug 30, 2021
38b7673
Merge remote-tracking branch 'asoc/for-5.15' into asoc-linus
broonie Aug 30, 2021
a8729ef
Merge tag 'asoc-v5.15' of https://git.kernel.org/pub/scm/linux/kernel…
tiwai Aug 30, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ASoC: qcom: lpass: Use managed buffer allocation
This patch simplifies the buffer pre-allocation code of qcom lpass
driver with the standard managed buffer helper.  It uses the newly
introduced fixed-size buffer allocation helper.

Cc: Srinivas Kandagatla <[email protected]>
Cc: Banajit Goswami <[email protected]>
Acked-by: Mark Brown <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
tiwai committed Aug 4, 2021

Verified

This commit was signed with the committer’s verified signature. The key has expired.
jeff-mccoy Megamind
commit 15a52cdcb0ef4d01c7da97c6db5c20d193ea93f1
60 changes: 2 additions & 58 deletions sound/soc/qcom/lpass-platform.c
Original file line number Diff line number Diff line change
@@ -156,8 +156,6 @@ static int lpass_platform_pcmops_open(struct snd_soc_component *component,
return -EINVAL;
}

snd_pcm_set_runtime_buffer(substream, &substream->dma_buffer);

return 0;
}

@@ -630,16 +628,6 @@ static snd_pcm_uframes_t lpass_platform_pcmops_pointer(
return bytes_to_frames(substream->runtime, curr_addr - base_addr);
}

static int lpass_platform_pcmops_mmap(struct snd_soc_component *component,
struct snd_pcm_substream *substream,
struct vm_area_struct *vma)
{
struct snd_pcm_runtime *runtime = substream->runtime;

return dma_mmap_coherent(component->dev, vma, runtime->dma_area,
runtime->dma_addr, runtime->dma_bytes);
}

static irqreturn_t lpass_dma_interrupt_handler(
struct snd_pcm_substream *substream,
struct lpass_data *drvdata,
@@ -787,52 +775,10 @@ static int lpass_platform_pcm_new(struct snd_soc_component *component,
struct snd_soc_pcm_runtime *soc_runtime)
{
struct snd_pcm *pcm = soc_runtime->pcm;
struct snd_pcm_substream *psubstream, *csubstream;
int ret;
size_t size = lpass_platform_pcm_hardware.buffer_bytes_max;

psubstream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream;
if (psubstream) {
ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV,
component->dev,
size, &psubstream->dma_buffer);
if (ret) {
dev_err(soc_runtime->dev, "Cannot allocate buffer(s)\n");
return ret;
}
}

csubstream = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream;
if (csubstream) {
ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV,
component->dev,
size, &csubstream->dma_buffer);
if (ret) {
dev_err(soc_runtime->dev, "Cannot allocate buffer(s)\n");
if (psubstream)
snd_dma_free_pages(&psubstream->dma_buffer);
return ret;
}

}

return 0;
}

static void lpass_platform_pcm_free(struct snd_soc_component *component,
struct snd_pcm *pcm)
{
struct snd_pcm_substream *substream;
int i;

for_each_pcm_streams(i) {
substream = pcm->streams[i].substream;
if (substream) {
snd_dma_free_pages(&substream->dma_buffer);
substream->dma_buffer.area = NULL;
substream->dma_buffer.addr = 0;
}
}
return snd_pcm_set_fixed_buffer_all(pcm, SNDRV_DMA_TYPE_DEV,
component->dev, size);
}

static int lpass_platform_pcmops_suspend(struct snd_soc_component *component)
@@ -877,9 +823,7 @@ static const struct snd_soc_component_driver lpass_component_driver = {
.prepare = lpass_platform_pcmops_prepare,
.trigger = lpass_platform_pcmops_trigger,
.pointer = lpass_platform_pcmops_pointer,
.mmap = lpass_platform_pcmops_mmap,
.pcm_construct = lpass_platform_pcm_new,
.pcm_destruct = lpass_platform_pcm_free,
.suspend = lpass_platform_pcmops_suspend,
.resume = lpass_platform_pcmops_resume,