uru4000: Fix image capture error on ARM
http://www.mail-archive.com/fprint@lists.freedesktop.org/msg00294.html
This commit is contained in:
parent
ea6d5ba6d6
commit
45ac0eefb0
1 changed files with 2 additions and 2 deletions
|
@ -689,8 +689,8 @@ static void imaging_run_state(struct fpi_ssm *ssm)
|
|||
fp_dbg("hw header lines %d", img->num_lines);
|
||||
|
||||
if (img->num_lines >= IMAGE_HEIGHT ||
|
||||
urudev->img_transfer->actual_length != img->num_lines * IMAGE_WIDTH + 64) {
|
||||
fp_err("bad captured image (%d lines) or size mismatch %d != %d",
|
||||
urudev->img_transfer->actual_length < img->num_lines * IMAGE_WIDTH + 64) {
|
||||
fp_err("bad captured image (%d lines) or size mismatch %d < %d",
|
||||
img->num_lines,
|
||||
urudev->img_transfer->actual_length,
|
||||
img->num_lines * IMAGE_WIDTH + 64);
|
||||
|
|
Loading…
Reference in a new issue