Re: [PATCH] soc: qmi: allow user to set handle wq to hiprio
From: David Miller
Date: Mon Jul 27 2020 - 15:49:45 EST
From: 王文虎 <wenhu.wang@xxxxxxxx>
Date: Mon, 27 Jul 2020 23:03:16 +0800 (GMT+08:00)
> Currently the qmi_handle is initialized single threaded and strictly
> ordered with the active set to 1. This is pretty simple and safe but
> sometimes ineffency. So it is better to allow user to decide whether
> a high priority workqueue should be used.
>
> Signed-off-by: Wang Wenhu <wenhu.wang@xxxxxxxx>
Every caller sets the new value to "0", so you should submit this when
you have a cast that actually sets it to "1".
Also, the new argument should be "bool" instead of "unsigned int" and
use "true" and "false" in the callers.
Thank you.