alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [RFC][PATCH 0/4] ALSA: control: return payload length of TLV operation
@ 2016-08-29 23:44 Takashi Sakamoto
  2016-08-29 23:44 ` [PATCH 1/4] ALSA: control: return payload length for " Takashi Sakamoto
                   ` (3 more replies)
  0 siblings, 4 replies; 48+ messages in thread
From: Takashi Sakamoto @ 2016-08-29 23:44 UTC (permalink / raw)
  To: clemens, tiwai; +Cc: vinod.koul, alsa-devel, broonie, omair.m.abdullah

Hi,

ALSA control interface has a feature named TLV. This is originally designed
to transfer information about threshold level. Later, it's used for I/O
operation.

In current implementation of this feature, length of handled data is not
returned to applications. This is not better as a feature related to I/O.

This patchset attempts to improve this feature so that the length is
returned to application in a 'length' field of tlv packet structure
(struct snd_ctl_tlv).

Takashi Sakamoto (4):
  ALSA: control: return payload length for TLV operation
  ALSA: control: delegate checking the length of data payload to each
    drivers
  ALSA: control: add kerneldoc for snd_kcontrol_tlv_rw_t
  ALSA: control: bump up protocol version to 2.0.8

 include/sound/control.h      | 22 ++++++++++++++++++++--
 include/sound/soc.h          |  2 +-
 include/uapi/sound/asound.h  |  2 +-
 sound/core/control.c         | 30 +++++++++++++++++++-----------
 sound/core/pcm_lib.c         | 15 ++++++++-------
 sound/core/vmaster.c         |  2 +-
 sound/hda/hdmi_chmap.c       | 16 +++++++++-------
 sound/pci/hda/hda_codec.c    | 12 ++++++++----
 sound/pci/hda/hda_local.h    |  4 ++--
 sound/pci/hda/patch_ca0132.c |  2 +-
 sound/pci/lola/lola_mixer.c  |  7 +++++--
 sound/soc/soc-ops.c          |  9 +++++----
 sound/usb/mixer.c            |  7 +++++--
 sound/usb/mixer.h            |  2 +-
 sound/usb/stream.c           | 13 ++++++++-----
 15 files changed, 94 insertions(+), 51 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 48+ messages in thread

end of thread, other threads:[~2016-09-13  8:39 UTC | newest]

Thread overview: 48+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-29 23:44 [RFC][PATCH 0/4] ALSA: control: return payload length of TLV operation Takashi Sakamoto
2016-08-29 23:44 ` [PATCH 1/4] ALSA: control: return payload length for " Takashi Sakamoto
2016-08-30  5:29   ` Takashi Iwai
2016-08-30  6:19     ` Takashi Sakamoto
2016-08-30  6:59       ` Takashi Iwai
2016-08-30  7:13         ` Takashi Sakamoto
2016-08-30  7:39           ` Takashi Iwai
2016-08-30  7:05   ` Clemens Ladisch
2016-08-30  7:09     ` Takashi Sakamoto
2016-08-30  8:04       ` Clemens Ladisch
2016-08-30 12:22         ` Takashi Sakamoto
2016-08-30 14:51       ` Vinod Koul
2016-08-30 22:04         ` Takashi Sakamoto
2016-08-31  4:20           ` Vinod Koul
2016-08-31  4:30             ` Takashi Sakamoto
2016-08-31  9:05               ` Charles Keepax
2016-08-31  9:40                 ` Takashi Iwai
2016-08-31 11:54                   ` Clemens Ladisch
2016-08-31 12:08                     ` Takashi Iwai
2016-08-31 15:26                       ` Takashi Sakamoto
2016-08-31 15:40                         ` Takashi Iwai
2016-09-02 11:30                           ` Takashi Sakamoto
2016-09-02 13:09                             ` Takashi Iwai
2016-09-02 14:50                               ` Takashi Sakamoto
2016-09-02 15:19                                 ` Takashi Iwai
2016-09-02 16:26                                   ` Takashi Iwai
2016-09-03 11:38                             ` Charles Keepax
2016-09-04 11:07                               ` Takashi Sakamoto
2016-09-04 20:45                                 ` Takashi Iwai
2016-09-06  3:30                                   ` Takashi Sakamoto
2016-09-12 12:37                                     ` Charles Keepax
2016-09-12 15:25                                       ` Vinod Koul
2016-09-12 15:28                                         ` Takashi Iwai
2016-09-12 16:03                                           ` Charles Keepax
2016-09-12 16:28                                             ` Takashi Iwai
2016-09-13  8:39                                               ` Charles Keepax
2016-08-31 12:19                     ` Charles Keepax
2016-08-31 13:24                       ` Clemens Ladisch
2016-08-31 14:18                         ` Charles Keepax
2016-08-31 16:05                           ` Vinod Koul
2016-09-02 11:18                     ` Takashi Sakamoto
2016-09-02 16:05                       ` Takashi Iwai
2016-09-03  3:53                         ` Takashi Sakamoto
2016-09-03 11:32                       ` Charles Keepax
2016-08-29 23:44 ` [PATCH 2/4] ALSA: control: delegate checking the length of data payload to each drivers Takashi Sakamoto
2016-08-30 15:46   ` Vinod Koul
2016-08-29 23:44 ` [PATCH 3/4] ALSA: control: add kerneldoc for snd_kcontrol_tlv_rw_t Takashi Sakamoto
2016-08-29 23:44 ` [PATCH 4/4] ALSA: control: bump up protocol version to 2.0.8 Takashi Sakamoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).