mmc: cavium: Fix a shift wrapping bug
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 13 Apr 2017 19:47:48 +0000 (22:47 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:42:23 +0000 (21:42 +0200)
commit3fcc78340f3a9bef2be7ad54258b06e1f177d3fd
tree5b673462b84d01516da8e17847c851b6a0e91ccf
parentfe79018aa4c3af7d74e48b9a9b117da9fb6cf353
mmc: cavium: Fix a shift wrapping bug

"dat" is a u64 and "shift" starts as 54 so this is a shift wrapping bug.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/cavium.c