]> Git Repo - esp-hosted.git/commit
esp_hosted_Xg/host: fix driver build failure with Linux version >= 5.17
authorGiulio Benetti <[email protected]>
Sat, 24 Sep 2022 22:29:51 +0000 (00:29 +0200)
committerKapil Gupta <[email protected]>
Mon, 17 Apr 2023 07:23:53 +0000 (12:53 +0530)
commit83a93653c05516ef671cbfff7f6ef629b8348b2f
tree60a12f8dcf6d88f404c2328362d51c345a00312e
parent81778f63a9d84fa46f8a907078f9e2681b391bf5
esp_hosted_Xg/host: fix driver build failure with Linux version >= 5.17

Starting from Linux 5.17 do_exit() is not exported anymore, so let's use
`#define do_exit(code)` locally as `kthread_complete_and_exit(NULL, code)`
instead.
`kthread_complete_and_exit()` basically calls `do_exit()` and in our
case it doesn't call 'complete(comp)' callback since 'comp = NULL'.

Signed-off-by: Giulio Benetti <[email protected]>
esp_hosted_fg/host/linux/host_driver/esp32/esp.h
esp_hosted_ng/host/sdio/esp_sdio.c
This page took 0.028468 seconds and 4 git commands to generate.