ALSA: info - Check file position validity in common layer
authorTakashi Iwai <tiwai@suse.de>
Tue, 13 Apr 2010 09:33:54 +0000 (11:33 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Apr 2010 10:01:14 +0000 (12:01 +0200)
Check the validity of the file position in the common info layer before
calling read or write callbacks in assumption that entry->size is set up
properly to indicate the max file size.

Removed the redundant checks from the callbacks as well.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found