Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0105338 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds
Browse files

[PATCH] pwc bug fix



The pwc chainsaw session left some setups not working.  There is a
sanity check on compression buffers that simply isn't right any more as
we never allocate one.

This doesn't address the email and other changes.  I'll do those
tomorrow if I get time, but it is the minimal fix for the code and basic
feature set.

Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 8d5f7b43
Loading
Loading
Loading
Loading
+0 −4
Original line number Original line Diff line number Diff line
@@ -332,10 +332,6 @@ static int pwc_allocate_buffers(struct pwc_device *pdev)
#endif	 
#endif	 
	;
	;
	 }
	 }
	if (kbuf == NULL) {
	   Err("Failed to allocate decompress table.\n");
	   return -ENOMEM;
	}
	pdev->decompress_data = kbuf;
	pdev->decompress_data = kbuf;
	
	
	/* Allocate image buffer; double buffer for mmap() */
	/* Allocate image buffer; double buffer for mmap() */