[PATCH] [RFC] i2c: rcar: Clear interrupt registers in probe()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We are getting crash reports where irqhandler crashes because it
uses priv->msg being NULL. This can happen if an interrupt is issued
before rcar_i2c_master_xfer() has initialized priv->msg.

The rcar_i2c_probe() function assumes that the I2C hardware is
uninitialized and connects the interrupt handler via devm_request_irq().

[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux