[media] msi3101: clamp mmap buffers to reasonable level
authorAntti Palosaari <crope@iki.fi>
Wed, 26 Feb 2014 23:48:23 +0000 (20:48 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 13 Mar 2014 13:26:53 +0000 (10:26 -0300)
commitd287e4e31ed6374f8899c131075461c3c8cbd8a9
treed2352b472471fd7a5983567f643766946777c569
parent2c57213fe043d0ed9c8f4709161ac89316e6250a
[media] msi3101: clamp mmap buffers to reasonable level

That value is coming from the user and we need only ensure it is
reasonable. That was pointed by Hans when reviewing rtl2832_sdr driver.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Cc: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/msi3101/sdr-msi3101.c