[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87wmr8y6hi.wl-tiwai@suse.de>
Date: Tue, 13 Feb 2024 11:59:53 +0100
From: Takashi Iwai <tiwai@...e.de>
To: Wesley Cheng <quic_wcheng@...cinc.com>
Cc: <srinivas.kandagatla@...aro.org>,
<mathias.nyman@...el.com>,
<perex@...ex.cz>,
<conor+dt@...nel.org>,
<corbet@....net>,
<lgirdwood@...il.com>,
<andersson@...nel.org>,
<krzysztof.kozlowski+dt@...aro.org>,
<gregkh@...uxfoundation.org>,
<Thinh.Nguyen@...opsys.com>,
<broonie@...nel.org>,
<bgoswami@...cinc.com>,
<tiwai@...e.com>,
<robh+dt@...nel.org>,
<konrad.dybcio@...aro.org>,
<linux-kernel@...r.kernel.org>,
<devicetree@...r.kernel.org>,
<linux-sound@...r.kernel.org>,
<linux-usb@...r.kernel.org>,
<linux-arm-msm@...r.kernel.org>,
<linux-doc@...r.kernel.org>,
<alsa-devel@...a-project.org>
Subject: Re: [PATCH v15 29/50] ALSA: usb-audio: qcom: Introduce QC USB SND offloading support
On Tue, 13 Feb 2024 01:54:01 +0100,
Wesley Cheng wrote:
> +static int __init qc_usb_audio_offload_init(void)
> +{
> + struct uaudio_qmi_svc *svc;
> + int ret;
> +
> + svc = kzalloc(sizeof(struct uaudio_qmi_svc), GFP_KERNEL);
> + if (!svc)
> + return -ENOMEM;
> +
> + svc->uaudio_wq = create_singlethread_workqueue("uaudio_svc");
> + if (!svc->uaudio_wq) {
> + ret = -ENOMEM;
> + goto free_svc;
> + }
Do we need a dedicated workqueue? I don't mind much, but an own
workqueue isn't usually needed unless specifically required such as
the request quantity control or isolation.
thanks,
Takashi
Powered by blists - more mailing lists