[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <VI1PR0702MB3615214734CE3D595C4A58618E320@VI1PR0702MB3615.eurprd07.prod.outlook.com>
Date: Wed, 6 Dec 2017 09:50:36 +0000
From: "Zhang, Sean C. (NSB - CN/Hangzhou)" <sean.c.zhang@...ia-sbell.com>
To: David Daney <ddaney@...iumnetworks.com>,
Jan Glauber <jan.glauber@...iumnetworks.com>,
"david.daney@...ium.com" <david.daney@...ium.com>
CC: "wsa@...-dreams.de" <wsa@...-dreams.de>,
"linux-i2c@...r.kernel.org" <linux-i2c@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [Bug fix] octeon-i2c driver improvement [2/2]
Hi Jan and David,
For octeon-i2c driver, there has duplicated interrupt disable in octeon_i2c_isr(),
octeon_i2c_hlc_wait() and octeon_i2c_wait(), since octeon_i2c_hlc_wait() and
octeon_i2c_wait() has pair of interrupt enable and disable, so the interrupt
disable in octeon_i2c_isr() is not necessary. attached patch removed this
unnecessary interrupt disable step.
Please have time to review it. Thanks.
BR
Sean Zhang
Download attachment "0001-i2c-octeon-driver-improvement.patch" of type "application/octet-stream" (1016 bytes)
View attachment "i2c-octeon-core.c" of type "text/plain" (19194 bytes)
Powered by blists - more mailing lists