aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorLad Prabhakar <[email protected]>2022-02-21 22:59:35 +0000
committerMarc Kleine-Budde <[email protected]>2022-02-25 17:46:54 +0100
commitc5048a7b2c23ab589f3476a783bd586b663eda5b (patch)
tree1acba004c729e50d0d4e1c196b6d0107388bac57 /net/lapb/lapb_iface.c
parent035b0fcf02707d3c9c2890dc1484b11aa5335eb1 (diff)
can: rcar_canfd: rcar_canfd_channel_probe(): register the CAN device when fully ready
Register the CAN device only when all the necessary initialization is completed. This patch makes sure all the data structures and locks are initialized before registering the CAN device. Link: https://lore.kernel.org/all/[email protected] Reported-by: Pavel Machek <[email protected]> Signed-off-by: Lad Prabhakar <[email protected]> Reviewed-by: Pavel Machek <[email protected]> Reviewed-by: Ulrich Hecht <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions