[media] smiapp: Use non-binning limits if the binning limit is zero
authorSakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Thu, 26 Apr 2012 14:55:13 +0000 (11:55 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 20 May 2012 15:46:43 +0000 (12:46 -0300)
commit3de886e0e4e1a981442e26edca5a32777299b079
treea4a7bd27f6d70a2c4073bfc1cc7de60579dc58ac
parent0458294751f8f9a883d518e55a13ea002df1d829
[media] smiapp: Use non-binning limits if the binning limit is zero

Some sensors do use binning but do not have valid limits in binning
registers. Use non-binning limits in that case.

Signed-off-by: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/smiapp/smiapp-core.c