Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8d64f42a authored by Liam Mark's avatar Liam Mark Committed by Patrick Daly
Browse files

arm64: mm: dma: panic on dummy dma alloc



On the 4.4 kernel non platform devices now have to call
arch_setup_dma_ops to setup their dma ops otherwise the
dummy dma opts will be used.
This because of change the following change:
1dccb598 arm64: simplify dma_get_ops

Introduce a panic if a the dummy dma alloc is used to
help clients more easily identify why their dma allocations
are failing.

This patch can later be reverted once all non platform devices
have fixed their code.

Change-Id: I2dd7eb0694c8c403da21133601eb7e831ead2dfd
Signed-off-by: default avatarLiam Mark <lmark@codeaurora.org>
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent 36e8282d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment