[PATCH 9/9] mci: core: add missing slice range for extract_psn function

Stefan Kerkmann s.kerkmann at pengutronix.de
Tue May 28 08:39:28 PDT 2024


Signed-off-by: Stefan Kerkmann <s.kerkmann at pengutronix.de>
---
 drivers/mci/mci-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mci/mci-core.c b/drivers/mci/mci-core.c
index 8907e9dc83..75cdb049fb 100644
--- a/drivers/mci/mci-core.c
+++ b/drivers/mci/mci-core.c
@@ -1988,7 +1988,7 @@ static void extract_prv(struct mci *mci, char prv[static 8])
  * Extract the product serial number from the CID
  * @param mci Instance data
  *
- * The 'PSN' is encoded in bit 55:24 in the CID
+ * The 'PSN' is encoded in bit 55:24 in the CID for SD cards and 47:16 for MMC cards
  */
 static unsigned extract_psn(struct mci *mci)
 {

-- 
2.39.2




More information about the barebox mailing list