From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Manjunathappa, Prakash" Date: Tue, 24 Jul 2012 04:21:44 +0000 Subject: [PATCH v2] da8xx-fb: allow frame to complete after disabling LCDC Message-Id: <1343102984-6056-1-git-send-email-prakash.pm@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-fbdev@vger.kernel.org Wait for active frame transfer to complete after disabling LCDC. At the same this wait is not be required when there are sync and underflow errors. More information on disable and reset sequence can be found in section 13.4.6 of AM335x TRM @www.ti.com/am335x. Signed-off-by: Manjunathappa, Prakash --- Patch applies on top of below patch under review: http://marc.info/?l=linux-fbdev&m4280060828708&w=2 "video: da8xx-fb: do clock reset of revision 2 LCDC before enabling" Since v1: Changed the commit message, also added link to hardware specification. drivers/video/da8xx-fb.c | 48 ++++++++++++++++++++++++++++++++++++--------- 1 files changed, 38 insertions(+), 10 deletions(-) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index a908dfd..0fb4d7d 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c @@ -31,6 +31,7 @@ #include #include #include +#include #include