[PATCH] sh_mobile_ceu_camera: Add physical address alignment checks V2

2009-12-11 Thread Magnus Damm
From: Magnus Damm d...@opensource.se Make sure physical addresses are 32-bit aligned in the SuperH Mobile CEU driver V2. The lowest two bits of the frame address registers are fixed to zero so frame buffers have to be 32-bit aligned. The V4L2 mmap() case is using dma_alloc_coherent() for this

Re: [PATCH] sh_mobile_ceu_camera: Add physical address alignment checks

2009-12-10 Thread Guennadi Liakhovetski
Hi On Wed, 9 Dec 2009, Magnus Damm wrote: From: Magnus Damm d...@opensource.se Make sure physical addresses are 32-bit aligned in the SuperH Mobile CEU driver. The lowest two bits of the address registers are fixed to zero so frame buffers have to bit 32-bit aligned. The V4L2 mmap() case

[PATCH] sh_mobile_ceu_camera: Add physical address alignment checks

2009-12-09 Thread Magnus Damm
From: Magnus Damm d...@opensource.se Make sure physical addresses are 32-bit aligned in the SuperH Mobile CEU driver. The lowest two bits of the address registers are fixed to zero so frame buffers have to bit 32-bit aligned. The V4L2 mmap() case is using dma_alloc_coherent() for this driver