Hi Recently a VIN soc-camera host driver has been submitted, that was based on the sh_mobile_ceu_camera driver and as such it copied some of its functions with no or very little change. This patch set extracts those functions to make them available for other soc-camera drivers too. Those functions deal with optimal cropping and scaling configuration of the host and the client. It isn't easy to get this right, so, it is better to have these routines centrally to get a better test coverage and not to have to fix or extend each driver separately. The way these patches are organised is to make it simple to follow changes and avoid any breakage. The first one modifies the functions in-place, preparing them for extraction. The second one really just moves them out into a separate file without any further changes. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html