diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2010-06-05 11:46:49 +0200 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2010-06-09 19:42:18 +0200 |
commit | 148c7866c31d93f8c79366189075f5a26ad4556c (patch) | |
tree | 2b82bfd64fcdf04a2fbb6bfca78e27c9c609110f /drivers/hwmon | |
parent | ieee1394: video1394: Use memdup_user (diff) | |
download | linux-148c7866c31d93f8c79366189075f5a26ad4556c.tar.xz linux-148c7866c31d93f8c79366189075f5a26ad4556c.zip |
firewire: ohci: do not enable interrupts without the handler
On 26 Apr 2010, Clemens Ladisch wrote:
> In theory, none of the interrupts should occur before the link is
> enabled. In practice, I'd rather make sure to not set the master
> interrupt enable bit until we have installed the interrupt handler.
and proposed to move OHCI1394_masterIntEnable out of the present
reg_write() into a new one before the HCControl.linkEnable reg_write().
Why not defer setting /all/ of the bits until right before linkEnable?
Reviewed-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions