[alsa-devel] [PATCH 4/5] ALSA: mts64: fix checkpatch space complains
Sudip Mukherjee
sudipm.mukherjee at gmail.com
Thu Jan 7 09:32:48 CET 2016
checkpatch was complaining about space before start of a line and a
required space before opening brace.
Signed-off-by: Sudip Mukherjee <sudip at vectorindia.org>
---
sound/drivers/mts64.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sound/drivers/mts64.c b/sound/drivers/mts64.c
index f00e938..ee6a87f 100644
--- a/sound/drivers/mts64.c
+++ b/sound/drivers/mts64.c
@@ -743,7 +743,7 @@ static void snd_mts64_rawmidi_input_trigger(struct snd_rawmidi_substream *substr
if (up)
mts->mode[substream->number] |= MTS64_MODE_INPUT_TRIGGERED;
else
- mts->mode[substream->number] &= ~MTS64_MODE_INPUT_TRIGGERED;
+ mts->mode[substream->number] &= ~MTS64_MODE_INPUT_TRIGGERED;
spin_unlock_irqrestore(&mts->lock, flags);
}
@@ -779,8 +779,8 @@ static int snd_mts64_rawmidi_create(struct snd_card *card)
rmidi->private_data = mts;
strcpy(rmidi->name, CARD_NAME);
rmidi->info_flags = SNDRV_RAWMIDI_INFO_OUTPUT |
- SNDRV_RAWMIDI_INFO_INPUT |
- SNDRV_RAWMIDI_INFO_DUPLEX;
+ SNDRV_RAWMIDI_INFO_INPUT |
+ SNDRV_RAWMIDI_INFO_DUPLEX;
mts->rmidi = rmidi;
@@ -803,7 +803,7 @@ static int snd_mts64_rawmidi_create(struct snd_card *card)
&rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams) {
substream = list_entry(list, struct snd_rawmidi_substream, list);
mts->midi_input_substream[substream->number] = substream;
- switch(substream->number) {
+ switch (substream->number) {
case MTS64_SMPTE_SUBSTREAM:
strcpy(substream->name, "Miditerminal SMPTE");
break;
--
1.9.1
More information about the Alsa-devel
mailing list