[PATCH v2 05/13] iommu/rockchip: Fix error handling in init

Tomasz Figa tfiga at chromium.org
Tue Jan 16 21:26:43 PST 2018


On Tue, Jan 16, 2018 at 10:25 PM, Jeffy Chen <jeffy.chen at rock-chips.com> wrote:
> It's hard to undo bus_set_iommu() in the error path, so move it to the
> end of rk_iommu_probe().

Does this work fine now? I remember we used to need this called in an
early initcall for all the ARM/ARM64 DMA stuff to work.

Best regards,
Tomasz



More information about the Linux-rockchip mailing list