Re: [PATCH] video: mx2_camera: Fix build error due to the lack of 'pixfmt' definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Fabio,

On 22 May 2012 00:10, Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx> wrote:
> commit d509835 ([media] media: mx2_camera: Fix mbus format handling) caused
> the following build error:
>
> drivers/media/video/mx2_camera.c:1032:42: error: 'pixfmt' undeclared (first use in this function)
> make[4]: *** [drivers/media/video/mx2_camera.o] Error 1
>
> Fix this build error by providing a 'pixfmt' definition.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
> ---
>  drivers/media/video/mx2_camera.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/media/video/mx2_camera.c b/drivers/media/video/mx2_camera.c
> index ded26b7..ef72733 100644
> --- a/drivers/media/video/mx2_camera.c
> +++ b/drivers/media/video/mx2_camera.c
> @@ -989,6 +989,7 @@ static int mx2_camera_set_bus_param(struct soc_camera_device *icd)
>        int ret;
>        int bytesperline;
>        u32 csicr1 = pcdev->csicr1;
> +       u32 pixfmt = icd->current_fmt->host_fmt->fourcc;
>
>        ret = v4l2_subdev_call(sd, video, g_mbus_config, &cfg);
>        if (!ret) {
> --
> 1.7.1

This patch is not needed anymore since Guennadi has requested one of
my patches to be removed from 'for_v3.5':

[PATCH] Revert "[media] media: mx2_camera: Fix mbus format handling"

And I've sent a new version addressing this merge issue and the
problem mentioned by Guennadi:

[PATCH v3][for_v3.5] media: mx2_camera: Fix mbus format handling


-- 
Javier Martin
Vista Silicon S.L.
CDTUC - FASE C - Oficina S-345
Avda de los Castros s/n
39005- Santander. Cantabria. Spain
+34 942 25 32 60
www.vista-silicon.com
--
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


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux