summaryrefslogtreecommitdiff
path: root/include/linux/genalloc.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-01-06 21:02:05 +0300
committerMark Brown <broonie@kernel.org>2026-01-06 21:02:05 +0300
commitf33db67d914a80ec449579dddc41804857c9400d (patch)
treec1d467fa39efde347ea27a9ffccfdb4be9962aab /include/linux/genalloc.h
parentfd9a14d233fbf33488cfa0cb7f59051b3233b017 (diff)
parent46a16d89d097ac2c93b63382a37d60aa7f21dc71 (diff)
downloadlinux-f33db67d914a80ec449579dddc41804857c9400d.tar.xz
ASoC: codecs: wsa88xx: fix codec initialisation
Merge series from Johan Hovold <johan@kernel.org>: The soundwire update_status() callback may be called multiple times with the same ATTACHED status but initialisation should only be done when transitioning from UNATTACHED to ATTACHED. This series fixes the Qualcomm wsa88xx codec drivers that do unnecessary reinitialisation or potentially fail to initialise at all. Included is also a related clean up suppressing a related codec variant printk.
Diffstat (limited to 'include/linux/genalloc.h')
-rw-r--r--include/linux/genalloc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/genalloc.h b/include/linux/genalloc.h
index 0bd581003cd5..60de63e46b33 100644
--- a/include/linux/genalloc.h
+++ b/include/linux/genalloc.h
@@ -44,6 +44,7 @@ struct gen_pool;
* @nr: The number of zeroed bits we're looking for
* @data: optional additional data used by the callback
* @pool: the pool being allocated from
+ * @start_addr: start address of memory chunk
*/
typedef unsigned long (*genpool_algo_t)(unsigned long *map,
unsigned long size,