drivers: can: deprecate the can_attach_workq() API call
Deprecate the can_attach_workq() API call. This API is limited in its functionality (it does not work with userspace, it uses one common buffer size for all work queue instances). Similar functionality can easily be implemented using the can_attach_msgq() API along with the generic triggered work API (e.g. using k_work_poll_submit()). Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
d1ff466ceb
commit
f92542ecf3
3 changed files with 73 additions and 99 deletions
|
@ -70,7 +70,7 @@ config CAN_INIT_PRIORITY
|
|||
so that it can start before the networking sub-system.
|
||||
|
||||
config CAN_WORKQ_FRAMES_BUF_CNT
|
||||
int "Work queue buffer frame count"
|
||||
int "Work queue buffer frame count (DEPRECATED)"
|
||||
default 4
|
||||
range 1 65534
|
||||
help
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue