V4L/DVB (10095): The failure of set_fmt is solved in tw9910
authorKuninori Morimoto <morimoto.kuninori@renesas.com>
Mon, 29 Dec 2008 09:04:16 +0000 (06:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:40:28 +0000 (09:40 -0200)
commit6d75611231fb22dbce0019310a9f3dc66918317e
treeed6228f933a614e5e5c963b31938c6f2bf2348ab
parented922a892e535c14035210b5be328af1f49561c8
V4L/DVB (10095): The failure of set_fmt is solved in tw9910

priv->scale is checked in start_capture.
Therefore, it should be NULL if failing in set_fmt.
This patch resolve this problem.

Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tw9910.c