diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2024-06-28 16:15:58 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2024-07-26 14:21:29 +0200 |
commit | 8a2be2f1db268ec735419e53ef04ca039fc027dc (patch) | |
tree | 2be2a07fb009ab49f240b8349f6ed84ff2fad940 /drivers/bluetooth/hci_mrvl.c | |
parent | 2df1de813a5ccbc89c7c831365e9e2c479aea0c3 (diff) | |
download | linux-8a2be2f1db268ec735419e53ef04ca039fc027dc.tar.gz linux-8a2be2f1db268ec735419e53ef04ca039fc027dc.tar.bz2 linux-8a2be2f1db268ec735419e53ef04ca039fc027dc.zip |
i3c: mipi-i3c-hci: Error out instead on BUG_ON() in IBI DMA setup
Definitely condition dma_get_cache_alignment * defined value > 256
during driver initialization is not reason to BUG_ON(). Turn that to
graceful error out with -EINVAL.
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Link: https://lore.kernel.org/r/20240628131559.502822-3-jarkko.nikula@linux.intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/bluetooth/hci_mrvl.c')
0 files changed, 0 insertions, 0 deletions