linux/drivers/media/i2c/smiapp
Sakari Ailus b31eb901c4 [media] smiapp: Only some selection targets are settable
Setting a non-settable selection target caused BUG() to be called. The check
for valid selections only takes the selection target into account, but does
not tell whether it may be set, or only get. Fix the issue by simply
returning an error to the user.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Cc: stable@vger.kernel.org	# for v3.10 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2014-11-11 09:13:36 -02:00
..
Kconfig
Makefile
smiapp-core.c [media] smiapp: Only some selection targets are settable 2014-11-11 09:13:36 -02:00
smiapp-limits.c [media] v4l, smiapp, smiapp-pll, adp1653: Update contact information 2012-11-21 13:34:50 -02:00
smiapp-limits.h [media] v4l, smiapp, smiapp-pll, adp1653: Update contact information 2012-11-21 13:34:50 -02:00
smiapp-quirk.c [media] smiapp: Make PLL (quirk) flags a function 2014-04-23 11:30:32 -03:00
smiapp-quirk.h [media] smiapp: Add register diversion quirk 2014-04-23 11:31:33 -03:00
smiapp-reg-defs.h [media] smiapp: Rename SMIA_REG to SMIAPP_REG for consistency 2014-04-23 11:10:03 -03:00
smiapp-reg.h [media] v4l, smiapp, smiapp-pll, adp1653: Update contact information 2012-11-21 13:34:50 -02:00
smiapp-regs.c [media] smiapp: Define macros for obtaining properties of register definitions 2014-04-23 11:32:22 -03:00
smiapp-regs.h [media] smiapp: Define macros for obtaining properties of register definitions 2014-04-23 11:32:22 -03:00
smiapp.h [media] smiapp: Implement the test pattern control 2014-08-21 15:25:12 -05:00