Skip to content

Commit

Permalink
V4L/DVB: firedtv: reduce memset()s
Browse files Browse the repository at this point in the history
Before each FCP transdaction, the entire 512 bytes of the FCP frame were
cleared, then values filled in.

Clear only the bytes between filled-in bytes and end of the
  - request frame, or
  - response frame if data from a larger response will be needed, or
  - whole frame if data from a variable length response will be taken.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Stefan Richter authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent 6385c5b commit 1e4348c
Showing 1 changed file with 65 additions and 81 deletions.
Loading

0 comments on commit 1e4348c

Please sign in to comment.