mmc: renesas_sdhi_internal_dmac: fix #define RST_RESERVED_BITS
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Wed, 22 Aug 2018 18:28:01 +0000 (21:28 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Sep 2018 17:55:53 +0000 (19:55 +0200)
commit8513c01ae15f5ec456dda387e44317752c8da544
tree2154656d88d1f79a068d42e56674717f8e02a7d8
parente7b6b3699b97a1e6b1ad31cd7c611dd92685c399
mmc: renesas_sdhi_internal_dmac: fix #define RST_RESERVED_BITS

commit 9faf870e559a710c44e747ba20383ea82d8ac5d2 upstream.

The DM_CM_RST register actually has bits 0-31 defaulting to 1s and bits
32-63 defaulting to 0s -- fix off-by-one in #define RST_RESERVED_BITS.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Fixes: 2a68ea7896e3 ("mmc: renesas-sdhi: add support for R-Car Gen3 SDHI DMAC")
Cc: stable@vger.kernel.org # v4.14+
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/renesas_sdhi_internal_dmac.c