aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/es1968.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2008-04-14 07:09:33 -0400
committerTakashi Iwai <tiwai@suse.de>2008-04-24 06:00:33 -0400
commit66c9aa6043798197e1760eaf4c5f510d6c69b95a (patch)
tree6dca2644d7c1d533e4a96c6f9493ed4e50988ff5 /sound/pci/es1968.c
parentf24bfa53dab478e1bde2d7fd39d3c1a69dc518f1 (diff)
[ALSA] es1968 - fix coding style in the last patch
WARNING: braces {} are not necessary for single statement blocks #40: FILE: sound/pci/es1968.c:1831: + if (diff > 1) { + __maestro_write(chip, IDR0_DATA_PORT, cp1); + } total: 0 errors, 1 warnings, 35 lines checked ./patches/es1968-fix-jitter-on-some-maestro-cards.patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Andreas Mueller <andreas@stapelspeicher.org> Tested-by: Rene Herman <rene.herman@keyaccess.nl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/es1968.c')
-rw-r--r--sound/pci/es1968.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/pci/es1968.c b/sound/pci/es1968.c
index f8f3bb662d17..138379896061 100644
--- a/sound/pci/es1968.c
+++ b/sound/pci/es1968.c
@@ -1840,9 +1840,8 @@ static void snd_es1968_suppress_jitter(struct es1968 *chip, struct esschan *es)
1840 cp2 = __apu_get_register(chip, 1, 5); 1840 cp2 = __apu_get_register(chip, 1, 5);
1841 diff = (cp1 > cp2 ? cp1 - cp2 : cp2 - cp1); 1841 diff = (cp1 > cp2 ? cp1 - cp2 : cp2 - cp1);
1842 1842
1843 if (diff > 1) { 1843 if (diff > 1)
1844 __maestro_write(chip, IDR0_DATA_PORT, cp1); 1844 __maestro_write(chip, IDR0_DATA_PORT, cp1);
1845 }
1846} 1845}
1847 1846
1848/* 1847/*