Re: [PATCH 2/3] mx3_camera: Support correctly the YUV222 and BAYER configurations of CSI

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Guennadi Liakhovetski
Date: Thursday, December 30, 2010 - 12:38 pm

On Sat, 18 Dec 2010, Guennadi Liakhovetski wrote:


Ok, I'm dropping this patch

Alberto, I've applied and pushed your other 2 patches from this series, 
but I've dropped this one. The reason is not (only), that you didn't reply 
to my two last mails with update-requests. But because of that I took the 
time today to look deeper into detail at this patch. And as a result, I 
don't think it is correct.

Currently the mx3_camera driver transfers data from video clients (camera 
sensors) only in one mode - as raw data, 1-to-1. This is extablished in 
the way, how it creates format translation tables during the initial 
negotiation with client drivers in mx3_camera_get_formats().

Your patch is trying to add support for specific modes on CSI, but is only 
doing this in the transfer part of the driver, and not in the negotiation 
part. So, if you really need native support for various pixel formats, 
this is a wrong way to do this. If you only want to transfer data from 
your sensor into RAM and the current driver is failing for you, then this 
is a wrong way to do this, and the bug has to be found and fixed, while 
maintaining the present pass-through only model.

Thanks
Guennadi


---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/3] soc_camera: Add the ability to bind regula ..., Guennadi Liakhovetski, (Sun Nov 28, 12:05 pm)
Re: [PATCH 2/3] mx3_camera: Support correctly the YUV222 a ..., Guennadi Liakhovetski, (Tue Nov 30, 7:31 am)
Re: [PATCH 2/3] mx3_camera: Support correctly the YUV222 a ..., Guennadi Liakhovetski, (Wed Dec 1, 11:54 am)
Re: [PATCH 3/3] V4L2: Add a v4l2-subdev (soc-camera) drive ..., Guennadi Liakhovetski, (Wed Dec 1, 4:32 pm)
Re: [PATCH 2/3] mx3_camera: Support correctly the YUV222 a ..., Guennadi Liakhovetski, (Sat Dec 18, 9:24 am)
Re: [PATCH 2/3] mx3_camera: Support correctly the YUV222 a ..., Guennadi Liakhovetski, (Thu Dec 30, 12:38 pm)
Re: [PATCH 2/3] mx3_camera: Support correctly the YUV222 a ..., Guennadi Liakhovetski, (Mon Jan 3, 9:24 am)
Re: [PATCH 2/3] mx3_camera: Support correctly the YUV222 a ..., Guennadi Liakhovetski, (Mon Jan 3, 12:37 pm)