Andy Shevchenko 7cb6e22ba0 xsysace: use platform_get_resource() and platform_get_irq_optional()
Use platform_get_resource() to fetch the memory resource and
platform_get_irq_optional() to get optional IRQ instead of
open-coded variants.

IRQ is not supposed to be changed at runtime, so there is
no functional change in ace_fsm_yieldirq().

On the other hand we now take first resources instead of last ones
to proceed. I can't imagine how broken should be firmware to have
a garbage in the first resource slots. But if it the case, it needs
to be documented.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-10-29 08:22:33 -06:00
..
2020-10-13 12:12:44 -07:00
2020-10-02 17:54:45 -06:00
2020-10-24 12:46:42 -07:00
2020-09-10 09:32:30 -06:00
2020-09-10 09:32:30 -06:00
2020-09-24 13:43:39 -06:00
2020-09-10 09:32:30 -06:00
2020-10-29 07:27:30 -06:00
2020-10-21 10:34:10 -07:00
2020-09-10 09:32:31 -06:00
2020-09-10 09:32:30 -06:00
2018-11-09 08:14:14 -07:00