regmap: irq: Only update mask bits when doing initial mask
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 1 Aug 2012 19:29:14 +0000 (20:29 +0100)
committerSimone Willett <swillett@nvidia.com>
Wed, 7 Nov 2012 02:28:47 +0000 (18:28 -0800)
commitcc5555872e5c43525050090e1eedd930cd977979
tree86d5295e6d7085fd7869817569537757cc5b35af
parent6685c6f911325866ac70d00503ff93e61ec5b30a
regmap: irq: Only update mask bits when doing initial mask

Don't write the full register, it's possible there's bits other than the
masks in the same register which we shouldn't be changing.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
(cherry picked from commit 0eb46ad0c8d60943c1f46cef795fc537fbffd177)

Change-Id: I4e9f42422e961f9f842ab793227af7be25ca82cf
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/161549
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
drivers/base/regmap/regmap-irq.c