summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx
diff options
context:
space:
mode:
authorNicola Soranzo <nsoranzo@tiscali.it>2009-02-12 18:21:52 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 17:42:46 +0200
commit55bf0e7013c2204aba3897987284ced7d3b8ff8b (patch)
tree5584bf45640ffa99ab2d56ef72ecd3f011c95e1e /drivers/media/video/em28xx
parentV4L/DVB (10544): v4l2-common: add comments warning that about the sort order (diff)
downloadlinux-55bf0e7013c2204aba3897987284ced7d3b8ff8b.tar.xz
linux-55bf0e7013c2204aba3897987284ced7d3b8ff8b.zip
V4L/DVB (10555): em28xx: CodingStyle fixes
Coding style fixes for recent changesets in em28xx. Signed-off-by: Nicola Soranzo <nsoranzo@tiscali.it> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx')
-rw-r--r--drivers/media/video/em28xx/em28xx-audio.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/media/video/em28xx/em28xx-audio.c b/drivers/media/video/em28xx/em28xx-audio.c
index 6296697d025f..0131322475bf 100644
--- a/drivers/media/video/em28xx/em28xx-audio.c
+++ b/drivers/media/video/em28xx/em28xx-audio.c
@@ -224,10 +224,12 @@ static int em28xx_cmd(struct em28xx *dev, int cmd, int arg)
switch (cmd) {
case EM28XX_CAPTURE_STREAM_EN:
- if (dev->adev.capture_stream == STREAM_OFF && arg == EM28XX_START_AUDIO) {
+ if (dev->adev.capture_stream == STREAM_OFF &&
+ arg == EM28XX_START_AUDIO) {
dev->adev.capture_stream = STREAM_ON;
em28xx_init_audio_isoc(dev);
- } else if (dev->adev.capture_stream == STREAM_ON && arg == EM28XX_STOP_AUDIO) {
+ } else if (dev->adev.capture_stream == STREAM_ON &&
+ arg == EM28XX_STOP_AUDIO) {
dev->adev.capture_stream = STREAM_OFF;
em28xx_deinit_isoc_audio(dev);
} else {
@@ -385,8 +387,8 @@ static int snd_em28xx_capture_trigger(struct snd_pcm_substream *substream,
struct em28xx *dev = snd_pcm_substream_chip(substream);
int retval;
- dprintk("Should %s capture\n", (cmd == SNDRV_PCM_TRIGGER_START)?
- "start": "stop");
+ dprintk("Should %s capture\n", (cmd == SNDRV_PCM_TRIGGER_START) ?
+ "start" : "stop");
spin_lock(&dev->adev.slock);
switch (cmd) {