[staging-testing] drivers/staging/wfx/hif_tx.c

Mohamed Dawod mhm.dawod at gmail.com
Wed Jun 10 04:01:04 EDT 2020


Hello,

I read this point in  staging/wfx/TODO file

- In wfx_cmd_send(), "async" allow to send command without waiting the
> reply.
>     It may help in some situation, but it is not yet used. In add, it may
> cause
>     some trouble:
>
> https://lore.kernel.org/driverdev-devel/alpine.DEB.2.21.1910041317381.2992@hadrien/
>     So, fix it (by replacing the mutex with a semaphore) or drop it.
>

I think that this issue has already been fixed in *hif_shutdown*()
function, hasn't it ?
I have another question. How can (replacing the mutex with a semaphore)
solve the problem?

Thank You.


-- 

Mohamed Dawod
Computer Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20200610/216fcb11/attachment.html>


More information about the Kernelnewbies mailing list