Yue Hu 83c4930256 mmc: cqhci: introduce get_trans_desc_offset()
The same calculation to get transfer descriptor offset is already used
at 3 different locations. Let's create a new helper to simplify code.

Signed-off-by: Yue Hu <huyue2@yulong.com>
Link: https://lore.kernel.org/r/20210521034432.2321-1-zbestahu@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2021-06-14 13:57:40 +02:00
..
2021-02-08 13:00:31 +01:00
2021-02-15 10:43:23 +01:00
2021-02-08 13:00:31 +01:00
2019-07-11 18:11:21 -07:00
2021-04-28 15:56:51 -07:00
2021-02-08 13:00:31 +01:00
2021-02-08 13:00:31 +01:00