diff options
| author | Mark Brown <broonie@kernel.org> | 2025-05-06 08:42:25 +0900 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-05-06 08:42:25 +0900 |
| commit | 02ca7898185fcbfc5890f0a8e42664bcd95d94a1 (patch) | |
| tree | eb083c0ba0cd8c17565120e735685d6a268a6668 /include/sound | |
| parent | fe65ce845c0a5876e0f6b9d848a951a218f8e3b2 (diff) | |
| parent | 14a3fd030c033453d436233f4c422b4903786ed3 (diff) | |
| download | linux-02ca7898185fcbfc5890f0a8e42664bcd95d94a1.tar.gz | |
AsoC: Phase out hybrid PCI devres
Merge series from Philipp Stanner <phasta@kernel.org>:
A year ago we spent quite some work trying to get PCI into better shape.
Some pci_ functions can be sometimes managed with devres, which is
obviously bad. We want to provide an obvious API, where pci_ functions
are never, and pcim_ functions are always managed.
Thus, everyone enabling his device with pcim_enable_device() must be
ported to pcim_ functions. Porting all users will later enable us to
significantly simplify parts of the PCI subsystem. See here [1] for
details.
This patch series does that for sound.
Feel free to squash the commits as you see fit.
P.
[1] https://elixir.bootlin.com/linux/v6.14-rc4/source/drivers/pci/devres.c#L18
Diffstat (limited to 'include/sound')
| -rw-r--r-- | include/sound/soc_sdw_utils.h | 1 | ||||
| -rw-r--r-- | include/sound/ump_convert.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/sound/soc_sdw_utils.h b/include/sound/soc_sdw_utils.h index 36a4a1e1d8ca28..d8bd5d37131aa0 100644 --- a/include/sound/soc_sdw_utils.h +++ b/include/sound/soc_sdw_utils.h @@ -226,6 +226,7 @@ int asoc_sdw_cs_amp_init(struct snd_soc_card *card, bool playback); int asoc_sdw_cs_spk_feedback_rtd_init(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai); +int asoc_sdw_cs35l56_volume_limit(struct snd_soc_card *card, const char *name_prefix); /* MAXIM codec support */ int asoc_sdw_maxim_init(struct snd_soc_card *card, diff --git a/include/sound/ump_convert.h b/include/sound/ump_convert.h index d099ae27f8491a..682499b871eac4 100644 --- a/include/sound/ump_convert.h +++ b/include/sound/ump_convert.h @@ -19,7 +19,7 @@ struct ump_cvt_to_ump_bank { /* context for converting from MIDI1 byte stream to UMP packet */ struct ump_cvt_to_ump { /* MIDI1 intermediate buffer */ - unsigned char buf[4]; + unsigned char buf[6]; /* up to 6 bytes for SysEx */ int len; int cmd_bytes; |
