Searched hist:"3 d165079ddd74f596c46c9f66528702226501a9f" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_ARM-atf/drivers/imx/usdhc/ |
| H A D | imx_usdhc.h | 3d165079ddd74f596c46c9f66528702226501a9f Fri Apr 04 09:13:26 UTC 2025 Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> fix(nxp-mmc): fix clk_rate and bus_width type
Both 'clk_rate' and bus_width members of the 'struct imx_usdhc_params' are defined as integers, while their usages are unsigned int. Therefore, change the type to unsigned int. This also helps to avoid MISRA C-2012 Rule 10.3 violations when unsigned values are assigned to signed variables.
Change-Id: If52e15a164732b68286f5303c4acbeb4ff993081 Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
|
| H A D | imx_usdhc.c | 3d165079ddd74f596c46c9f66528702226501a9f Fri Apr 04 09:13:26 UTC 2025 Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> fix(nxp-mmc): fix clk_rate and bus_width type
Both 'clk_rate' and bus_width members of the 'struct imx_usdhc_params' are defined as integers, while their usages are unsigned int. Therefore, change the type to unsigned int. This also helps to avoid MISRA C-2012 Rule 10.3 violations when unsigned values are assigned to signed variables.
Change-Id: If52e15a164732b68286f5303c4acbeb4ff993081 Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
|