From: Laurent Pinchart Date: Sat, 9 Nov 2013 12:18:01 +0000 (+0100) Subject: irqchip: renesas-intc-irqpin: Fix register bitfield shift calculation X-Git-Tag: v3.13-rc5~1^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e55bc55867585e6628359fd5496316576fe58a2f;p=pandora-kernel.git irqchip: renesas-intc-irqpin: Fix register bitfield shift calculation The SENSE register bitfield position is incorrectly computed for SoCs that use 2-bit IRQ sense fields. Fix it. This has been tested on the Marzen (H1) and Bockw (M1) boards. This bug has been present since the renesas-intc-irqpin driver was introduced by 443580486e3b9657 ("irqchip: Renesas INTC External IRQ pin driver") in v3.10-rc1. Signed-off-by: Laurent Pinchart Acked-by: Magnus Damm Tested-by: Simon Horman Signed-off-by: Simon Horman --- Reading git-diff-tree failed