From 535ec214e23adaf72c775938e9e9c6c1cf6fc5b9 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 8 May 2014 10:03:37 -0300 Subject: [PATCH] [media] mt9p031: Fix BLC configuration restore when disabling test pattern Auto BLC and BLC digital offset are disabled when enabling the test pattern and must be restored when disabling it. The driver does so by calling the set control handler on the auto BLC and BLC offset controls, but this programs the hardware with the new value of those controls, not the current value. Fix this by writing to the registers directly. Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-format-patch failed