dw_dmac: adjust slave_id accordingly to request line base
On some hardware configurations we have got the request line with the offset.
The patch introduces convert_slave_id() helper for that cases. The request line
base is came from the driver data provided by the platform_device_id table.
Signed-off-by: Mika Westerberg <email@example.com>
Signed-off-by: Andy Shevchenko <firstname.lastname@example.org>
Cc: Viresh Kumar <email@example.com>
Acked-by: Viresh Kumar <firstname.lastname@example.org>
Signed-off-by: Vinod Koul <email@example.com>
2 files changed