commit | 5d4294b8ddf92092ffad61fe552adeeabb4242bd | [log] [tgz] |
---|---|---|
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | Mon Dec 12 15:45:56 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Fri Dec 30 14:38:06 2011 -0200 |
tree | 670015258ae031f53b2422ef963337009a1ef7d1 | |
parent | d5048c9a289485f65d108ede183dd3f02f1cd408 [diff] |
[media] m5mols: Don't ignore v4l2_ctrl_handler_setup() return value v4l2_ctrl_handler_setup() may fail so check its return value when restoring controls after device is powered on. While at it simplify the m5mols_restore_function() a bit. Acked-by: HeungJun Kim <riverful.kim@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>