power: reset: at91-sama5d2_shdwc: fix wkupdbc mask
[ Upstream commit95aa21a3f1] According to datasheet WKUPDBC mask is b/w bits 26..24. Fixes:f80cb48843("power: reset: at91-shdwc: add new shutdown controller driver") Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
e724c819ed
commit
28c05164b7
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
#define AT91_SHDW_MR 0x04 /* Shut Down Mode Register */
|
||||
#define AT91_SHDW_WKUPDBC_SHIFT 24
|
||||
#define AT91_SHDW_WKUPDBC_MASK GENMASK(31, 16)
|
||||
#define AT91_SHDW_WKUPDBC_MASK GENMASK(26, 24)
|
||||
#define AT91_SHDW_WKUPDBC(x) (((x) << AT91_SHDW_WKUPDBC_SHIFT) \
|
||||
& AT91_SHDW_WKUPDBC_MASK)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue