sh_mobile_lcdc cleanup and fixes

Started by Laurent Pinchart on Jul 15, 2011 · 3 messages from 1 author · Last reply Sep 20, 2011

STALE5534d SUPERSEDED

Status: Superseded by v2 (posted 2011-07-20). [go to v2]

Revision v1 (2 revisions archived).

Revisions (2)
  1. v1 current
  2. v2 [diff against previous]

open the first message on its own page

Message details and related content
Hi everybody,

When trying to understand the sh_mobile_lcdc driver, I found it hard to read
statements that include hardcoded register values. I thus wrote a patch that
replace them with macros, making the code more readable.

While doing so, I found two potential issues in the driver. See patches 2 and
3 for detailed explanations and fixes.

Laurent Pinchart (3):
  fbdev: sh_mobile_lcdc: Replace hardcoded register values with macros
  fbdev: sh_mobile_lcdc: Don't acknowlege interrupts unintentionally
  fbdev: sh_mobile_lcdc: Compute clock pattern using divider
    denominator

 drivers/video/sh_mobile_lcdcfb.c |  232 +++++++++++++++++---------------------
 include/video/sh_mobile_lcdc.h   |  135 +++++++++++++++++++---
 2 files changed, 222 insertions(+), 145 deletions(-)

-- 
Best regards,

Laurent Pinchart
Message details and related content
Hi Florian,

On Friday 15 July 2011 23:52:30 Laurent Pinchart wrote:
Hi everybody,

When trying to understand the sh_mobile_lcdc driver, I found it hard to
read statements that include hardcoded register values. I thus wrote a
patch that replace them with macros, making the code more readable.

While doing so, I found two potential issues in the driver. See patches 2
and 3 for detailed explanations and fixes.

Laurent Pinchart (3):
  fbdev: sh_mobile_lcdc: Replace hardcoded register values with macros
  fbdev: sh_mobile_lcdc: Don't acknowlege interrupts unintentionally
  fbdev: sh_mobile_lcdc: Compute clock pattern using divider
    denominator
Could you please pick these patches for v3.2 ?

-- 
Regards,

Laurent Pinchart
Message details and related content
On Tuesday 20 September 2011 21:30:15 Laurent Pinchart wrote:
Hi Florian,

On Friday 15 July 2011 23:52:30 Laurent Pinchart wrote:
quoted
Hi everybody,

When trying to understand the sh_mobile_lcdc driver, I found it hard to
read statements that include hardcoded register values. I thus wrote a
patch that replace them with macros, making the code more readable.

While doing so, I found two potential issues in the driver. See patches 2
and 3 for detailed explanations and fixes.

Laurent Pinchart (3):
  fbdev: sh_mobile_lcdc: Replace hardcoded register values with macros
  fbdev: sh_mobile_lcdc: Don't acknowlege interrupts unintentionally
  fbdev: sh_mobile_lcdc: Compute clock pattern using divider
  
    denominator
Could you please pick these patches for v3.2 ?
Sorry, I meant to answer the next version of this patch set. Please pick v2 
instead.

-- 
Regards,

Laurent Pinchart
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help