Re: [PATCH 4.19 10/93] soundwire: cadence_master: fix register definition for SLAVE_STATE

From: Pavel Machek
Date: Fri Sep 06 2019 - 09:54:32 EST


On Wed 2019-09-04 19:53:12, Greg Kroah-Hartman wrote:
> [ Upstream commit b07dd9b400981f487940a4d84292d3a0e7cd9362 ]
>
> wrong prefix and wrong macro.

Both defines are unused in 4.19 stable... so this does not fix any
bug.

Best regards,
Pavel

> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@xxxxxxxxxxxxxxx>
> Link: https://lore.kernel.org/r/20190725234032.21152-14-pierre-louis.bossart@xxxxxxxxxxxxxxx
> Signed-off-by: Vinod Koul <vkoul@xxxxxxxxxx>
> Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

>
> #define CDNS_MCP_INTSET 0x4C
>
> -#define CDNS_SDW_SLAVE_STAT 0x50
> -#define CDNS_MCP_SLAVE_STAT_MASK BIT(1, 0)
> +#define CDNS_MCP_SLAVE_STAT 0x50
> +#define CDNS_MCP_SLAVE_STAT_MASK GENMASK(1, 0)
>
> #define CDNS_MCP_SLAVE_INTSTAT0 0x54
> #define CDNS_MCP_SLAVE_INTSTAT1 0x58

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature