]> git.dujemihanovic.xyz Git - linux.git/commit
mailbox: omap: Move fifo size check to point of use
authorAndrew Davis <afd@ti.com>
Wed, 10 Apr 2024 13:59:33 +0000 (08:59 -0500)
committerJassi Brar <jassisinghbrar@gmail.com>
Mon, 20 May 2024 03:29:44 +0000 (22:29 -0500)
commite9eceec61a3e064e75c8c5db75a03c3b1318bdd4
tree25c4dd05ddeee234a9d5f050c8567b8949ea85b4
parent6979e8be50af143a373bf5905a176434a5880ca4
mailbox: omap: Move fifo size check to point of use

The mbox_kfifo_size can be changed at runtime, the sanity
check on it's value should be done when it is used, not
only once at init time.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
drivers/mailbox/omap-mailbox.c