ALSA: firewire-tascam: use better name for local variables to describe their intension
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 20 Oct 2015 14:46:57 +0000 (23:46 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 20 Oct 2015 15:49:14 +0000 (17:49 +0200)
commitb7ab614f301741ae3cb61fb6a90e290083d3b95d
tree62cccb35111a2214e1c5760093abc2dd74803ccb
parent516a30615635fdec6a298d7b7cedca1270bc641c
ALSA: firewire-tascam: use better name for local variables to describe their intension

In the callback function of asynchronous MIDI port, the intension of some
local variables are not clear.

This commit improves them. The 'len' variable is used to calculate the
number of MIDI bytes including in the transaction. The 'consume' variable
is used to return the actual number of consumed bytes in ALSA MIDI buffer.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/tascam/tascam-transaction.c
This page took 0.024504 seconds and 5 git commands to generate.