memory: brcmstb: dpfe: add locking around DCPU enable/disable
authorMarkus Mayer <mmayer@broadcom.com>
Tue, 15 Oct 2019 22:45:08 +0000 (15:45 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Fri, 18 Oct 2019 17:07:29 +0000 (10:07 -0700)
commit75d316e7633abda6b066d432f92fdb7012988daa
tree7396a2af1b157817ea1f154da05ab0e5b50df07c
parent56ece3fabf2e5dcc2d8ffd51c955a83ffda62723
memory: brcmstb: dpfe: add locking around DCPU enable/disable

To ensure consistency, we add locking primitives inside the DCPU enable
and disable routines.

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
drivers/memory/brcmstb_dpfe.c