diff options
author | Milan Svoboda <msvoboda@ra.rockwell.com> | 2006-06-26 07:19:00 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-27 11:58:52 -0700 |
commit | 8a7471aba19dc526978a03bfe2e3c122712b5900 (patch) | |
tree | cc78b29c2b0118a805197c8d143188a4a4e1ea8a /Documentation/video4linux/README.saa7134 | |
parent | 07cb7f23d07aa4d197dbeb123eb9719c176190ee (diff) |
USB: fix ep_config to return correct value
This patch fixes ep_config to return correct value. Without patch
ep_config returns submitted lenght minus 4 on succes. With this
patch applied, whole submitted lenght is returned.
ep_config parses submitted data and if buffer starts with (int) 1
it is parsed, otherwise error is reported. Problem is that ep_config
returns size of buffer minus 4 on success. I think that size of buffer
should be returned instead, because there were no problems and
all data were processed.
Signed-off-by: Milan Svoboda <msvoboda@ra.rockwell.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/video4linux/README.saa7134')
0 files changed, 0 insertions, 0 deletions