• Leilk Liu's avatar
    spi: mediatek: fix endian warnings · 7abc01b3
    Leilk Liu authored
    This patch fixes endian warnings detected by sparse:
    - sparse: incorrect type in argument 1 (different base types)
    	  expected unsigned int [unsigned] val
    	  got restricted __le32 [usertype] <noident>
    - sparse: incorrect type in argument 1 (different base types)
    	  expected unsigned int [unsigned] val
    	  got restricted __le32 [usertype] <noident>
    Signed-off-by: default avatarLeilk Liu <leilk.liu@mediatek.com>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    7abc01b3
spi-mt65xx.c 19.8 KB