[media] staging: atomisp: Set step to 0 for mt9m114 menu control
authorHans de Goede <hdegoede@redhat.com>
Sun, 28 May 2017 12:31:49 +0000 (09:31 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 7 Jun 2017 15:47:47 +0000 (12:47 -0300)
commit42c6d864acaede779a4e44f8ce8d23c1012a1e64
treec6214376c60bc79b9aad3bfd22906717573d6ff6
parent797f91e6417abcc9a07f9c99dd9128ae7622ee81
[media] staging: atomisp: Set step to 0 for mt9m114 menu control

menu controls are not allowed to have a step size, set step to 0 to
fix an oops from the WARN_ON in v4l2_ctrl_new_custom() triggering
because of this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/atomisp/i2c/mt9m114.c