firmware: arm_scmi: Fix incorrect alloc_workqueue() invocation
authorTejun Heo <tj@kernel.org>
Thu, 20 Apr 2023 19:33:49 +0000 (09:33 -1000)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 8 May 2023 19:40:25 +0000 (20:40 +0100)
commit44e8d5ad2dc01529eb1316b1521f24ac4aac8eaf
treee6a6c8ac4f5fd878ea3d34dc6dd15090b49ab7e7
parentac9a78681b921877518763ba0e89202254349d1b
firmware: arm_scmi: Fix incorrect alloc_workqueue() invocation

scmi_xfer_raw_worker_init() is specifying a flag, WQ_SYSFS, as @max_active.
Fix it by or'ing WQ_SYSFS into @flags so that it actually enables sysfs
interface and using 0 for @max_active for the default setting.

Signed-off-by: Tejun Heo <tj@kernel.org>
Fixes: 3c3d818a9317 ("firmware: arm_scmi: Add core raw transmission support")
Link: https://lore.kernel.org/r/ZEGTnajiQm7mkkZS@slm.duckdns.org
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/raw_mode.c