From: Greg Kroah-Hartman Date: Tue, 8 Dec 2009 23:02:43 +0000 (-0800) Subject: Revert "V4L/DVB (13190): em28xx: fix panic that can occur when starting audio streaming" X-Git-Tag: v2.6.27.41~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fb846e65b8a7535bf544682250142895c478ae7b;p=people%2Fms%2Flinux.git Revert "V4L/DVB (13190): em28xx: fix panic that can occur when starting audio streaming" This reverts commit 72c62be1f9f89d3f60408ab55728237f37911e08. It breaks the build, and isn't necessary for the 2.6.27 tree. Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/media/video/em28xx/em28xx-audio.c b/drivers/media/video/em28xx/em28xx-audio.c index 95f77b68d49e..ac3292d7646c 100644 --- a/drivers/media/video/em28xx/em28xx-audio.c +++ b/drivers/media/video/em28xx/em28xx-audio.c @@ -365,11 +365,6 @@ static int snd_em28xx_hw_capture_free(struct snd_pcm_substream *substream) static int snd_em28xx_prepare(struct snd_pcm_substream *substream) { - struct em28xx *dev = snd_pcm_substream_chip(substream); - - dev->adev.hwptr_done_capture = 0; - dev->adev.capture_transfer_done = 0; - return 0; }