linux/drivers/bus/mhi/core
Bhaumik Bhatt 8de5ad9941 bus: mhi: core: Add missing checks for MMIO register entries
As per documentation, fields marked as (required) in an MHI
controller structure need to be populated by the controller driver
before calling mhi_register_controller(). Ensure all required
pointers and non-zero fields are present in the controller before
proceeding with the registration.

Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
Reviewed-by: Jeffrey Hugo <jhugo@codeaurora.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/1615315490-36017-1-git-send-email-bbhatt@codeaurora.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
2021-03-10 20:11:22 +05:30
..
boot.c bus: mhi: core: Use appropriate label in firmware load handler API 2020-11-18 15:20:34 +05:30
debugfs.c bus: mhi: core: Rename debugfs directory name 2021-03-10 20:11:22 +05:30
init.c bus: mhi: core: Add missing checks for MMIO register entries 2021-03-10 20:11:22 +05:30
internal.h Merge branch 'mhi-ath11k-immutable' into mhi-next 2020-11-20 11:56:55 +05:30
main.c bus: mhi: core: Fix invalid error returning in mhi_queue 2021-03-10 20:11:22 +05:30
Makefile bus: mhi: core: Fix the building of MHI module 2020-10-02 11:33:47 +02:00
pm.c bus: mhi: core: Fix device hierarchy 2020-11-28 12:00:49 +05:30