[RFC 3/5] ARM: CTI: Convert CTI helpers to AMBA bus driver
From: Pratik Patel <hidden>
Date: 2012-12-21 22:35:58
Also in:
linux-devicetree, linux-omap
From: Pratik Patel <hidden>
Date: 2012-12-21 22:35:58
Also in:
linux-devicetree, linux-omap
On Fri, Dec 21, 2012 at 02:27:03PM -0800, Pratik Patel wrote:
On Wed, Dec 12, 2012 at 03:43:06PM -0600, Jon Hunter wrote:quoted
+ +/** + * cti_irq_ack - acknowledges the CTI trigger output + * @cti: CTI instance + * + * Acknowledges the CTI trigger output by writting to the appropriate + * bit in the CTI interrupt acknowledge register. + */ +int cti_irq_ack(struct cti *cti) +{ + u32 v; + + if (!cti || !cti->enabled) + return -EINVAL; + + v = cti_readl(cti, CTIINTACK);Just curious if CTIINTACK is a read-write register? This is a read-only for us.
Mistyped - its a write-only for us -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation