Re: [PATCH 27/34] media: mx2_camera: use managed functions to clean up code

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

 



Hi Shawn,

On 18 September 2012 09:43, Shawn Guo <shawn.guo@xxxxxxxxxx> wrote:
> On Mon, Sep 17, 2012 at 03:36:07PM +0200, javier Martin wrote:
>> This patch breaks the driver:
>>
> Javier,
>
> Can you please apply the following change to see if it fixes the
> problem?
>
> Shawn
>
> @@ -1783,6 +1783,8 @@ static int __devinit mx2_camera_probe(struct platform_device *pdev)
>                         goto exit;
>         }
>
> +       platform_set_drvdata(pdev, NULL);
> +
>         pcdev->soc_host.drv_name        = MX2_CAM_DRV_NAME,
>         pcdev->soc_host.ops             = &mx2_soc_camera_host_ops,
>         pcdev->soc_host.priv            = pcdev;

Yes. That fixes the problem.

With this fix:

Tested-by: Javier Martin <javier.martin@xxxxxxxxxxxxxxxxx>

Regards.
-- 
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