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 <firstname.lastname@example.org>
Signed-off-by: Andy Shevchenko <email@example.com>
Cc: Viresh Kumar <firstname.lastname@example.org>
Acked-by: Viresh Kumar <email@example.com>
Signed-off-by: Vinod Koul <firstname.lastname@example.org>
2 files changed