summaryrefslogtreecommitdiff
path: root/drivers/staging/line6/driver.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@gmail.com>2012-11-22 19:49:03 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-27 00:13:24 (GMT)
commit3e58c868db1dc1402943f6a585529873f445c14f (patch)
treeb29f3009e1889748291cd88e2274133fc9b7766d /drivers/staging/line6/driver.c
parentbd99f84f484877ad87ee82adf2b3bbde4fdd9c2b (diff)
downloadlinux-fsl-qoriq-3e58c868db1dc1402943f6a585529873f445c14f.tar.xz
staging: line6: drop midi_mask_receive
The midi_mask_receive sysfs attribute selects the MIDI channels on which to receive messages. There is no need to do this at the driver level, instead the MIDI application endpoints decide which channels to use. Other drivers don't implement midi_mask_receive so applications cannot make use of this feature. Therefore we drop it as part of the effort to clean up the staging driver. Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/line6/driver.c')
-rw-r--r--drivers/staging/line6/driver.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/line6/driver.c b/drivers/staging/line6/driver.c
index 0bc838d..e0e0779 100644
--- a/drivers/staging/line6/driver.c
+++ b/drivers/staging/line6/driver.c
@@ -396,11 +396,6 @@ static void line6_data_received(struct urb *urb)
if (done == 0)
break;
- /* MIDI input filter */
- if (line6_midibuf_skip_message
- (mb, line6->line6midi->midi_mask_receive))
- continue;
-
line6->message_length = done;
line6_midi_receive(line6, line6->buffer_message, done);