]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:45:31 +0000 (19:45 -0600)
commit3fd36e7aa5f71c769104efb593e4e6afcb062125
tree950aeec2925ac324dbd7016c3a65b49ce4bbf3e4
parent2d7a92e77231726b2ee97c9ebd2bb77f10afbd29
mmc: renesas_sdhi_internal_dmac: fix #define RST_RESERVED_BITS

BugLink: https://bugs.launchpad.net/bugs/1835972
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/mmc/host/renesas_sdhi_internal_dmac.c