]> git.karo-electronics.de Git - linux-beck.git/commit
acornfb: Dont BUG() on invalid pan parameters
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 25 May 2011 11:43:53 +0000 (13:43 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 19 Aug 2011 08:29:23 +0000 (10:29 +0200)
commit3846e93a65b1a127f59203606c0e92dd22f08782
tree8cca271ca9ab3fd4133754f14ca1e8a8a95c8b5a
parent2e1e5979bbe07f1a72276fd486abb3e693364628
acornfb: Dont BUG() on invalid pan parameters

The driver currently BUG()s if the pan parameters passed directly from
userspace are invalid. Return -EINVAL instead.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/video/acornfb.c