UPSTREAM: ALSA: compress_offload: Add missing descriptions in structs
Add the missing descriptions for snd_compr_ops, snd_compr_task and
snd_compr_task_status fields, in order to shut up the build warnings.
Bug: 254441685
Fixes: 04177158cf98 ("ALSA: compress_offload: introduce accel operation mode")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/20241028193731.4b0c3788@canb.auug.org.au
Link: https://patch.msgid.link/20241113072304.4447-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
(cherry picked from commit b773c086ed58c7e9111a4d4f251a98db3d4165d8)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: Ib0ed95367e64b3bd46a8cd336e7f30ed8ad5a18d
This commit is contained in:
@@ -143,6 +143,10 @@ struct snd_compr_stream {
|
||||
* Not valid if copy is implemented
|
||||
* @get_caps: Retrieve DSP capabilities, mandatory
|
||||
* @get_codec_caps: Retrieve capabilities for a specific codec, mandatory
|
||||
* @task_create: Create a set of input/output buffers for accel operations
|
||||
* @task_start: Start (queue) a task for accel operations
|
||||
* @task_stop: Stop (dequeue) a task for accel operations
|
||||
* @task_free: Free a set of input/output buffers for accel operations
|
||||
*/
|
||||
struct snd_compr_ops {
|
||||
int (*open)(struct snd_compr_stream *stream);
|
||||
|
||||
Reference in New Issue
Block a user