diff options
author | Clark Wang <[email protected]> | 2021-12-27 15:45:29 +0800 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2022-01-05 09:53:44 +0100 |
commit | 7ff730ca458e841dbcdc87f264d7afe3eaed525e (patch) | |
tree | 9e4ab67c9d923924fbc0e9a08513018e5f3cb86f /net/lapb/lapb_in.c | |
parent | c5d4587bb9a9a03b30bbc928b4a007fcd1f8c279 (diff) |
i3c: master: svc: enable the interrupt in the enable ibi function
If enable interrupt in the svc_i3c_master_bus_init() but do not call
enable ibi in the device driver, it will cause a kernel dump in the
svc_i3c_master_handle_ibi() when a slave start occurs on the i3c bus,
because the data->ibi_pool is not initialized.
So only enable the interrupt in svc_i3c_master_enable_ibi() function.
Signed-off-by: Clark Wang <[email protected]>
Reviewed-by: Miquel Raynal <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions