commit | fc7f8fd42c2b934ac348995e0c530c917fc277d5 | [log] [tgz] |
---|---|---|
author | Arnout Vandecappelle <arnout@mind.be> | Wed Mar 17 19:53:04 2010 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Wed May 19 12:58:40 2010 -0300 |
tree | d83e4e80cbf38e3a64f1c6d32347e50535b0778a | |
parent | c06b062bea411f616b0890d502044c7871d5332f [diff] |
V4L/DVB: buf-dma-sg.c: don't assume nr_pages == sglen videobuf_pages_to_sg() and videobuf_vmalloc_to_sg() happen to create a scatterlist element for every page. However, this is not true for bus addresses, so other functions shouldn't rely on the length of the scatter list being equal to nr_pages. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>