Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c6c7c729 authored by Dirk Behme's avatar Dirk Behme Committed by Kevin Hilman
Browse files

i2c: davinci: Fix smbus Oops with AIC33 usage



This fixes Oops at kernel startup while "scanning" for TLV320AIC23IDx
addresses.

Additional fix from Sudhakar Rajashekhara: I think 'first byte set'
should come after the write because an I2C transaction is being
carried out before configuring the I2C mode register (which has bits
to configure Master, Start condition etc), which causes undefined
behavior.

Signed-off-by: default avatarSudhakar Rajashekhara <sudhakar.raj@ti.com>
Signed-off-by: default avatarAlexander Vasiliev <alexvasiljev@gmail.com>
Signed-off-by: default avatarBrad Griffis <bgriffis@ti.com>
Signed-off-by: default avatarDirk Behme <dirk.behme@gmail.com>
Acked-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
parent 9fe6206f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment