From: Josh Wu Date: Tue, 10 Dec 2013 12:25:47 +0000 (-0300) Subject: [media] v4l: atmel-isi: Should clear bits before set the hardware register X-Git-Tag: v3.14-rc1~20^2~258 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd6f27458b0c50469ba1bb0a53e5ad1ac9e950d5;p=pandora-kernel.git [media] v4l: atmel-isi: Should clear bits before set the hardware register In the ISI driver it reads the config register to get original value, then set the correct FRATE_DIV and YCC_SWAP_MODE directly. This will cause some bits overlap. So we need to clear these bits first, then set correct value. This patch fix it. Signed-off-by: Josh Wu Acked-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed