Re: [PATCH v2 10/17] mmc: rockchip_sdhci: Rearrange and simplify used regs and flags

2023-04-20 Thread Kever Yang
On 2023/4/19 00:46, Jonas Karlman wrote: This rearrange and remove duplicate defines to make the code cleaner. There is no need to read vendor area1 and use an offset each time, it is easier and clearer to just use the reg offset defined in TRM, same as the other vendor regs. This also

[PATCH v2 10/17] mmc: rockchip_sdhci: Rearrange and simplify used regs and flags

2023-04-18 Thread Jonas Karlman
This rearrange and remove duplicate defines to make the code cleaner. There is no need to read vendor area1 and use an offset each time, it is easier and clearer to just use the reg offset defined in TRM, same as the other vendor regs. This also removes use of the misspelled const for the RK3588