[PATCH v2 0/2] mmc: Add support for checking device number against alias index

Aswath Govindraju a-govindraju at ti.com
Thu Mar 25 08:18:46 CET 2021


The following series of patches,
- add support to check for a device with a sequence number equal to device
  number before looking for matching index
- assign device number by reading aliases node's index by using dev_seq

Changes since v1:
- In patch 2 used dev_seq instead of using dev_read_alias_seq for reading
  alias index.

Aswath Govindraju (2):
  mmc: Check for device with a seq number equal to num  before checking
    against index
  mmc: mmc-uclass: Use dev_seq() to read aliases node's index

 drivers/mmc/mmc-uclass.c | 12 +++++-------
 drivers/mmc/mmc.c        |  8 +++++---
 2 files changed, 10 insertions(+), 10 deletions(-)

-- 
2.17.1



More information about the U-Boot mailing list