ASoC: wm_adsp: Fix some signedness errors in register access
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Fri, 16 Feb 2018 14:36:10 +0000 (14:36 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 16 Feb 2018 15:22:00 +0000 (15:22 +0000)
commite21a5acfab2f13eeffe50d5d5f87c099540a3bf3
tree4bb336689cf3863f507fcd19dadac3be011c7524
parent04ff40a983e864b586f189b4c3503b6f61263643
ASoC: wm_adsp: Fix some signedness errors in register access

base and sysclk_reg should be unsigned int, as that is what
regmap takes as a register address.

sysclk_mask is used to mask unsigned register values so
should be unsigned.

sysclk_shift is a shift value so is not allowed to be negative.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.h