commit | dc48665fae5aa360e80dfdb2d6cab4fa58b27ee4 | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | Wed Jul 13 12:13:47 2011 +0200 |
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | Fri Aug 19 08:22:38 2011 +0200 |
tree | ea56c195386fc5b997961b033d7868e0c0c8a1bc | |
parent | ce1c0b0873bf4e970970a49612105cf6c36d81e3 [diff] |
fbdev: sh_mobile_lcdc: Don't acknowlege interrupts unintentionally The LDINTR register caries both interrupt enable and interrupt status bits. When setting or clearing interrupt enable bits, write all status bits to 1 to avoid acknowledging interrupts by mistake. When acknowledging interrupts, write 1 to all non-triggered interrupt bits to avoid losing interrupts. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>