# Re: \[PATCH\] OMAP1: PM: Fix omapfb/lcd on Amstrad Delta broken when PM set

- From: Paul Walmsley \<paul@pwsan.com\>
- Date: 2009-11-10 10:50:52 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2009/11/8539029
- Thread: https://ratatoskr.run/linux-arm-kernel/2009/10/8538583/t.md

```text
Hello Janusz et al,

On Fri, 30 Oct 2009, Janusz Krzysztofik wrote:

> More looking at it, I found that might be omap_dma_running() from 
> arch/arm/plat-omap/dma.c that needs correction. It already checks for LCD dma 
> running for OMAP1610, but does nothing similiar for 1510. I have revisited 
> http://focus.ti.com/lit/ug/spru674/spru674.pdf, but found no hint how to do 
> that in a 1610 similiar way.

Speaking of this code, here's a project suggestion if someone has some 
spare time.  All of the LCD DMA code in plat-omap/dma.c appears to be 
OMAP1-only (and apparently only is available on a subset of OMAP1 chips).  
It would be great if this code could be moved to mach-omap1/lcd_dma.c or 
a similar place.


- Paul
```
