mmc: stm32_sdmmc2: correctly manage block size
DBLOCKSIZE should be filled such as the data size is 2^DBLOCKSIZE.
Hence it is calculated with __builtin_ctz.

Change-Id: Id6b5ff9b594afc4fc523a388011beed307e6abd1
Signed-off-by: Yann Gautier <yann.gautier@st.com>
1 parent 2c2c9f1 commit d9d803e0be7af7785d8ea72e79b2926db581bb65
@Yann Gautier Yann Gautier authored on 11 Jun 2019
Showing 1 changed file
View
drivers/st/mmc/stm32_sdmmc2.c