]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: firewire-lib: compute pointer to payload buffer in context handler
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 22 May 2019 14:17:05 +0000 (23:17 +0900)
committerTakashi Iwai <tiwai@suse.de>
Thu, 23 May 2019 10:19:40 +0000 (12:19 +0200)
commitb8d8c30de02f73a3a1c054bc8547c24f6a6c4065
tree30dbef54f153064593d5d42f51d7eec80c5c5252
parent4f94bde10c1f20f03427715dc9a406b0aa34b3aa
ALSA: firewire-lib: compute pointer to payload buffer in context handler

The value of pointer to payload buffer is computed in each packet
handler, however the pointer can be decided before call of packet
handler.

This commit adds an argument for the pointer to the packet handler to
reduce codes to compute for the pointer.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/amdtp-stream.c
sound/firewire/amdtp-stream.h