Hello,

I found a typo mistake in the USDHC driver related to the card detect pin.
It is a pretty simple one. Can someone tell me how toapplay a patch for it.
Or someone who know how to do it do the following changes and apply them.
Thank you in advance!

in file /arch/arm/src/imxrt/imxrt_usdhc.c

Line 379-381

  #if defined(PIN_USDHC1_CD_GPIO)
    .sw_cd_gpio         = PIN_USDHC1_CD_GPIO,
#endif
should be changed to
  #if defined(PIN_USDHC1_CD)
    .sw_cd_gpio         = PIN_USDHC1_CD,
#endif

And same file at lines 437-439

 #if defined(PIN_USDHC2_CD_GPIO)
    .sw_cd_gpio         = PIN_USDHC2_CD_GPIO,
#endif

should be changed to

  #if defined(PIN_USDHC2_CD)
    .sw_cd_gpio         = PIN_USDHC2_CD,
#endif



-- 
Kind regards,
Ivan Ucherdzhiev

Team Lead @ Barin Sports
Bulgaria
skype: ipy_44
tel: +359888927760

Reply via email to