Re: [PATCH 1/4] ALSA: line6: Add toneport_has_source_select()

2015-02-06 Thread Chris Rorvick
On Fri, Feb 6, 2015 at 8:56 AM, Takashi Iwai wrote: > At Fri, 6 Feb 2015 08:51:09 -0600, Chris Rorvick wrote: >> --- a/sound/usb/line6/toneport.c >> +++ b/sound/usb/line6/toneport.c >> @@ -343,6 +343,20 @@ static void toneport_remove_leds(struct >> usb_line6_toneport *toneport) >> } >> }

Re: [PATCH 1/4] ALSA: line6: Add toneport_has_source_select()

2015-02-06 Thread Takashi Iwai
At Fri, 6 Feb 2015 08:51:09 -0600, Chris Rorvick wrote: > > Add a predicate for testing if the device supports source selection to > make the conditional logic around this a bit cleaner. > > Signed-off-by: Chris Rorvick > --- > sound/usb/line6/toneport.c | 32

[PATCH 1/4] ALSA: line6: Add toneport_has_source_select()

2015-02-06 Thread Chris Rorvick
Add a predicate for testing if the device supports source selection to make the conditional logic around this a bit cleaner. Signed-off-by: Chris Rorvick --- sound/usb/line6/toneport.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git

[PATCH 1/4] ALSA: line6: Add toneport_has_source_select()

2015-02-06 Thread Chris Rorvick
Add a predicate for testing if the device supports source selection to make the conditional logic around this a bit cleaner. Signed-off-by: Chris Rorvick ch...@rorvick.com --- sound/usb/line6/toneport.c | 32 1 file changed, 16 insertions(+), 16 deletions(-)

Re: [PATCH 1/4] ALSA: line6: Add toneport_has_source_select()

2015-02-06 Thread Takashi Iwai
At Fri, 6 Feb 2015 08:51:09 -0600, Chris Rorvick wrote: Add a predicate for testing if the device supports source selection to make the conditional logic around this a bit cleaner. Signed-off-by: Chris Rorvick ch...@rorvick.com --- sound/usb/line6/toneport.c | 32

Re: [PATCH 1/4] ALSA: line6: Add toneport_has_source_select()

2015-02-06 Thread Chris Rorvick
On Fri, Feb 6, 2015 at 8:56 AM, Takashi Iwai ti...@suse.de wrote: At Fri, 6 Feb 2015 08:51:09 -0600, Chris Rorvick wrote: --- a/sound/usb/line6/toneport.c +++ b/sound/usb/line6/toneport.c @@ -343,6 +343,20 @@ static void toneport_remove_leds(struct usb_line6_toneport *toneport) } }