From: Felipe Balbi <balbi@kernel.org>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: Ruslan Bilovol <ruslan.bilovol@gmail.com>,
Alan Stern <stern@rowland.harvard.edu>,
Daniel Mack <zonque@gmail.com>,
Jassi Brar <jassisinghbrar@gmail.com>,
Clemens Ladisch <clemens@ladisch.de>,
Jonathan Corbet <corbet@lwn.net>,
Peter Chen <hzpeterchen@gmail.com>,
Julian Scheel <julian@jusst.de>,
"linux-usb\@vger.kernel.org" <linux-usb@vger.kernel.org>,
linux-doc@vger.kernel.org,
"linux-kernel\@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v4 0/3] USB Audio Gadget refactoring
Date: Tue, 06 Jun 2017 12:41:02 +0300 [thread overview]
Message-ID: <87vao9sbbl.fsf@linux.intel.com> (raw)
In-Reply-To: <20170606074432.GA10232@kroah.com>
[-- Attachment #1: Type: text/plain, Size: 1814 bytes --]
Hi,
Greg KH <gregkh@linuxfoundation.org> writes:
>> > I'm OK with dropping legacy f_uac1 implementation.
>> >
>> > Another idea I was thinking about is to implement simple in-kernel
>> > driver which will do the same as existing alsaloop tool userspace
>> > tool does (so legacy users will need to load two kernel modules
>> > and get same functionality). But this seems to be a wrong way,
>> > since It known that Linux kernel community doesn't like to take drivers
>> > with same functionality as existing userspace tools already have.
>> >
>> > So bottom line: since I'm not a legacy f_uac1 user, there is no
>> > difference for me how to handle it - remove legacy f_uac1 completely,
>> > rename it to f_uac1_legacy or add separate f_uac1_acard function.
>> >
>> > So if dropping of legacy f_uac1 implementation is OK for you,
>> > I can do it quickly in next patchset.
>>
>> Personally, I don't want duplicated functionality and I think the
>> virtual sound card approach is much better. Then again, removing
>> functionality we already support is kind of odd.
>>
>> Greg, Alan, what do you guys think? Do we keep a duplicated function
>> around or do we just tell people to rely on alsaloop? Personally, I
>> think we're better off with the flexibility of the virtual sound card,
>> what's your take?
>
> If the in-kernel driver will do more things, and we don't break the
> existing setups using alsaloop, then I don't see the problem, except
> that we now have to maintain two things :)
>
> If you don't mind the maintenance, fine with me...
Okay, I don't think many will continue to use f_uac1.c. Ruslan, can you
update your series so that current f_uac1.c gets renamed to
f_uac1_legacy.c and you introduce a *new* f_uac1.c instead?
Thanks a lot
--
balbi
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2017-06-06 9:41 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-17 22:37 [PATCH v4 0/3] USB Audio Gadget refactoring Ruslan Bilovol
2017-05-17 22:37 ` [PATCH v4 1/3] usb: gadget: f_uac2: remove platform driver/device creation Ruslan Bilovol
2017-05-17 22:37 ` [PATCH v4 2/3] usb: gadget: f_uac2: split out audio core Ruslan Bilovol
2017-05-22 15:58 ` Jassi Brar
2017-05-29 23:43 ` Ruslan Bilovol
2017-06-02 11:47 ` Jassi Brar
2017-06-02 9:34 ` Felipe Balbi
2017-06-02 21:11 ` Ruslan Bilovol
2017-05-17 22:37 ` [PATCH v4 3/3] usb: gadget: add f_uac1 variant based on a new u_audio api Ruslan Bilovol
2017-05-26 15:52 ` Julian Scheel
2017-05-30 0:07 ` Ruslan Bilovol
2017-06-02 9:42 ` [PATCH v4 0/3] USB Audio Gadget refactoring Felipe Balbi
2017-06-02 21:36 ` Ruslan Bilovol
2017-06-05 9:22 ` Felipe Balbi
2017-06-06 7:44 ` Greg KH
2017-06-06 9:41 ` Felipe Balbi [this message]
2017-06-06 19:43 ` Ruslan Bilovol
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vao9sbbl.fsf@linux.intel.com \
--to=balbi@kernel.org \
--cc=clemens@ladisch.de \
--cc=corbet@lwn.net \
--cc=gregkh@linuxfoundation.org \
--cc=hzpeterchen@gmail.com \
--cc=jassisinghbrar@gmail.com \
--cc=julian@jusst.de \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=ruslan.bilovol@gmail.com \
--cc=stern@rowland.harvard.edu \
--cc=zonque@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox