From fa7ec41f28c14825bc5e4e419f5c458e66fecf2e Mon Sep 17 00:00:00 2001 From: Golam Mortuza Hossain Date: Mon, 6 Oct 2008 20:04:46 -0300 Subject: [PATCH] Restores USB audio functionality of SN9C202 webcams This patch restores the breakage of USB audio (mic) functionality found in SN9C202 webcams by removing the read and write of register 0x1045 from "624f_stop_stream" function. Signed-off-by: Golam Mortuza Hossain --- microdia-dev.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/microdia-dev.c b/microdia-dev.c index bebef2f..5c4c559 100644 --- a/microdia-dev.c +++ b/microdia-dev.c @@ -6814,16 +6814,6 @@ int microdia_624f_stop_stream(struct usb_microdia *dev) if (ret < 0) goto err; - command = 0x1045; - ret = usb_microdia_control_read(dev, command, buf, 1); - if (ret < 0) - goto err; - - buf[0] = 0x0f; - ret = usb_microdia_control_write(dev, command, buf, 1); - if (ret < 0) - goto err; - return ret; err: -- 2.11.4.GIT