bus: mhi: ep: Do not allocate event ring element on stack
It is possible that the host controller driver would use DMA framework to write the event ring element. So avoid allocating event ring element on the stack as DMA cannot work on vmalloc memory. Cc: stable@vger.kernel.org Fixes: 961aeb68 ("bus: mhi: ep: Add support for sending events to the host") Link: https://lore.kernel.org/r/20230901073502.69385-1-manivannan.sadhasivam@linaro.orgSigned-off-by:Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Showing
Please register or sign in to comment