From ecc31faccec6317e9e11ae5bc1c80cceefc6c7cc Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sun, 6 Nov 2005 03:31:51 +0000 Subject: - Adds missing msp34xxg_reset to VIDIOC_S_STD (just like VIDIOCSCHAN). Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/video/msp3400-driver.c | 3 +++ linux/drivers/media/video/msp3400.c | 3 +++ 2 files changed, 6 insertions(+) (limited to 'linux') diff --git a/linux/drivers/media/video/msp3400-driver.c b/linux/drivers/media/video/msp3400-driver.c index 60afdac9a..89306bb97 100644 --- a/linux/drivers/media/video/msp3400-driver.c +++ b/linux/drivers/media/video/msp3400-driver.c @@ -2070,6 +2070,9 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg) msp->norm=VIDEO_MODE_NTSC; } + if (IS_MSP34XX_G(msp)) + msp34xxg_reset(client); + msp_wake_thread(client); return 0; } diff --git a/linux/drivers/media/video/msp3400.c b/linux/drivers/media/video/msp3400.c index 60afdac9a..89306bb97 100644 --- a/linux/drivers/media/video/msp3400.c +++ b/linux/drivers/media/video/msp3400.c @@ -2070,6 +2070,9 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg) msp->norm=VIDEO_MODE_NTSC; } + if (IS_MSP34XX_G(msp)) + msp34xxg_reset(client); + msp_wake_thread(client); return 0; } -- cgit v1.2.3