14 Jun
2017
14 Jun
'17
1:04 p.m.
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