mmc: dw_mmc: use standard "mmc" alias stem
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mmc: dw_mmc: extract ctrl_id lookup to a functiondrivers/ drivers/ drivers/ | +21 | 0 replies | |
| 2/2 | mmc: dw_mmc: use standard "mmc" alias stemdrivers/ | +5 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] mmc: dw_mmc: use standard "mmc" alias stem
dw_mmc uses the device index internally and currently derives this from a "mshcN" DT alias. But the standard DT alias used by the MMC core to assign the device index is "mmcN".
The first patch here creates a function to replace the two sites that do this mapping so that the second patch can switch to using "mmcN" if available (falling back to "mshcN" for compatibility if required).
John Keeping (2):
mmc: dw_mmc: extract ctrl_id lookup to a function
mmc: dw_mmc: use standard "mmc" alias stem
drivers/mmc/host/dw_mmc-k3.c | 4 +--- drivers/mmc/host/dw_mmc.c | 28 ++++++++++++++++++++++------ drivers/mmc/host/dw_mmc.h | 2 ++ 3 files changed, 25 insertions(+), 9 deletions(-)
Signature · 1 line
2.34.0