diff options
| author | Sam Protsenko <[email protected]> | 2024-08-07 22:14:11 -0500 |
|---|---|---|
| committer | Minkyu Kang <[email protected]> | 2024-08-19 16:09:06 +0900 |
| commit | 454fda956cc3eab0667a6b32acdec185c61bc160 (patch) | |
| tree | b40b8fc0ecedea0cb78beb5815b7e9fb70de8e58 /include/linux | |
| parent | 1db6dd1feffa0cd3c64b87489f4773ac9f2bfcbf (diff) | |
mmc: dw_mmc: Extract divider update to a separate function
Extract the clock divider update into dwmci_update_div() function. It's
a procedure recommended in TRM, so it's better to keep it in a dedicated
function to make the code clearer.
While at it also extract the clock control code into a separate routine
to avoid code duplication in dwmci_setup_bus().
No functional change.
Signed-off-by: Sam Protsenko <[email protected]>
Signed-off-by: Minkyu Kang <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
