Re: [PATCH v2] irqchip: vt8500: Switch to a simple write clear for Interrupt Status Register

2014-04-28 Thread Axel Lin
2014-04-28 18:08 GMT+08:00 Thomas Gleixner : > On Mon, 28 Apr 2014, Axel Lin wrote: > >> According to the datasheet, the attribute of Interrupt Status Register is >> RW0S, >> which means: >> Software can read the register. >> Software can also "write 1 to clear". "write 0" has no

Re: [PATCH v2] irqchip: vt8500: Switch to a simple write clear for Interrupt Status Register

2014-04-28 Thread Thomas Gleixner
On Mon, 28 Apr 2014, Axel Lin wrote: > According to the datasheet, the attribute of Interrupt Status Register is > RW0S, > which means: > Software can read the register. > Software can also "write 1 to clear". "write 0" has no effect. > > So the read/modify/write cycle is no

Re: [PATCH v2] irqchip: vt8500: Switch to a simple write clear for Interrupt Status Register

2014-04-28 Thread Thomas Gleixner
On Mon, 28 Apr 2014, Axel Lin wrote: According to the datasheet, the attribute of Interrupt Status Register is RW0S, which means: Software can read the register. Software can also write 1 to clear. write 0 has no effect. So the read/modify/write cycle is no necessary, switch

Re: [PATCH v2] irqchip: vt8500: Switch to a simple write clear for Interrupt Status Register

2014-04-28 Thread Axel Lin
2014-04-28 18:08 GMT+08:00 Thomas Gleixner t...@linutronix.de: On Mon, 28 Apr 2014, Axel Lin wrote: According to the datasheet, the attribute of Interrupt Status Register is RW0S, which means: Software can read the register. Software can also write 1 to clear. write 0 has no

[PATCH v2] irqchip: vt8500: Switch to a simple write clear for Interrupt Status Register

2014-04-27 Thread Axel Lin
According to the datasheet, the attribute of Interrupt Status Register is RW0S, which means: Software can read the register. Software can also "write 1 to clear". "write 0" has no effect. So the read/modify/write cycle is no necessary, switch to a simple write clear instead.

[PATCH v2] irqchip: vt8500: Switch to a simple write clear for Interrupt Status Register

2014-04-27 Thread Axel Lin
According to the datasheet, the attribute of Interrupt Status Register is RW0S, which means: Software can read the register. Software can also write 1 to clear. write 0 has no effect. So the read/modify/write cycle is no necessary, switch to a simple write clear instead.