bus: mhi: ep: Add checks for read/write callbacks while registering controllers
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Mon, 27 Nov 2023 11:22:07 +0000 (16:52 +0530)
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Fri, 15 Dec 2023 08:50:13 +0000 (14:20 +0530)
commit309ab14f70d137f708ca52e275dc9fd20d3e9147
treea74d9cb0ef91fe0ab7f378b9b55f05f13693db6d
parent2547beb00ddb40e55b773970622421d978f71473
bus: mhi: ep: Add checks for read/write callbacks while registering controllers

The MHI EP controller drivers has to support both sync and async read/write
callbacks. Hence, add a check for it.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
drivers/bus/mhi/ep/main.c