ALSA: info - Implement common llseek for binary mode
authorTakashi Iwai <tiwai@suse.de>
Tue, 13 Apr 2010 09:39:47 +0000 (11:39 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Apr 2010 10:01:20 +0000 (12:01 +0200)
commit73029e0ff18dfac8a1aab1dc188e1e150bbe3adc
tree680d00a2e5bc124b5b1b642508a47a90e3c47b3f
parentd97e1b78239c7e7e441088e0b644bd3b076002e6
ALSA: info - Implement common llseek for binary mode

The llseek implementation is identical for existing driver implementations,
so let's merge to the common layer.  The same code for the text proc file
can be used even for the binary proc file.

The driver can provide its own llseek method if needed.  Then the common
code will be skipped.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/info.c
sound/drivers/opl4/opl4_proc.c
sound/isa/gus/gus_mem_proc.c
sound/pci/mixart/mixart.c