[alsa-devel] [PATCH 0/2] ALSA: pcm: remove unused local commands
Takashi Iwai
tiwai at suse.de
Wed Jun 14 13:04:33 CEST 2017
On Wed, 14 Jun 2017 12:30:02 +0200,
Takashi Sakamoto wrote:
>
> Hi,
>
> A callback of 'struct snd_pcm_ops.ioctl' is internally used for ALSA
> pcm core to communicate to each drivers for some purposes; e.g. ask the
> size of FIFO in handled devices. However, in 'include/sound/pcm.h',
> there're some commands for the callback, which has never been used.
>
> This commit removes the unused commands to prevent developers from
> undocumented and unreferenced features.
>
> Takashi Sakamoto (2):
> ALSA: pcm: remove SNDRV_PCM_IOCTL1_INFO internal command
> ALSA: pcm: remove SNDRV_PCM_IOCTL1_GSTATE internal command
Applied both patches. Thanks.
Takashi
More information about the Alsa-devel
mailing list