diff options
author | Maxime Ripard <maxime@cerno.tech> | 2020-11-06 15:22:31 +0100 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2020-11-18 09:01:30 +0100 |
commit | 957a1ea3599210e9996777a734ea5284eaef75c7 (patch) | |
tree | eb5b176a4eca132d4982fa906657b4f6bbedf6b4 /drivers/soc/sunxi | |
parent | 3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff) |
drm/sun4i: backend: Fix probe failure with multiple backends
Commit e0d072782c73 ("dma-mapping: introduce DMA range map, supplanting
dma_pfn_offset") introduced a regression in our code since the second
backed to probe will now get -EINVAL back from dma_direct_set_offset and
will prevent the entire DRM device from probing.
Ignore -EINVAL as a temporary measure to get it back working, before
removing that call entirely.
Fixes: e0d072782c73 ("dma-mapping: introduce DMA range map, supplanting dma_pfn_offset")
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/soc/sunxi')
0 files changed, 0 insertions, 0 deletions