qup_i2c: Use separate variables to store i2c gpios settings
In i2c bus recovery function GPIO settings for both
SCL and SDA are stored in one variable in this order
before writing recovery settings.
So, SCL setting is overwritten with SDA setting.
And when saved gpios settings write it back after
recovery, the setting for SDA is written both on SCL and SDA.
It means the setting of SCL is broken.
Use separate instances of variables to store GPIO settings
of SDA and SCL separately
CRs-Fixed: 447585
Change-Id: I7014a5b12d4c7ef41fd28c543834d45c619695a9
Signed-off-by:
Alok Chauhan <alokc@codeaurora.org>
Loading
Please sign in to comment