From: Sakari Ailus Date: Fri, 26 Sep 2014 13:12:38 +0000 (-0300) Subject: [media] smiapp: Clean up smiapp_set_format() X-Git-Tag: omap-for-v3.19/fixes-rc1~133^2~369 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e91cbeb29990d762c997ceec353a14fbbd80a0e1;p=pandora-kernel.git [media] smiapp: Clean up smiapp_set_format() smiapp_set_format() has accumulated a fair amount of changes without a needed refactoring, do the cleanup now. There's also an unlocked version of v4l2_ctrl_range_changed(), using that fixes a small serialisation issue with the user space interface. __v4l2_ctrl_modify_range() is used instead of v4l2_ctrl_modify_range() in smiapp_set_format_source() since the mutex is now held during the function call. Signed-off-by: Sakari Ailus Acked-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed