From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6198 invoked by alias); 3 Jan 2013 16:27:59 -0000 Received: (qmail 6161 invoked by uid 22791); 3 Jan 2013 16:27:55 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 03 Jan 2013 16:27:48 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 88B5A4680013 for ; Thu, 3 Jan 2013 16:27:47 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DnVMNp9QQrZz; Thu, 3 Jan 2013 16:27:44 +0000 (GMT) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1001397] I2C driver for Kinetic microcontrollers X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ilijak@siva.com.mk X-Bugzilla-Status: NEEDINFO X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 03 Jan 2013 16:27:00 -0000 Message-Id: <20130103162744.8A32C4680001@mail.ecoscentric.com> Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2013-01/txt/msg00009.txt.bz2 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001397 --- Comment #38 from Ilija Kocho 2013-01-03 16:27:42 GMT --- Created an attachment (id=2017) --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=2017) Freescale I2C driver 130103, incremental to attachments 2004/2005 (In reply to comment #36) > (In reply to comment #33) > > If you are too busy, and if you don't have objections, I would like to take > > care of the spin optimization (ref. comment 32), of course with all respect and > > credit to your contribution. > > Please do with it whatever you deem needs doing :) Thank you. Here I propose a code that: - decreases i2c thread priority prior to wait spin; - returns after timeout (as Mike suggests) The patch is incremental. Apply it on top of attachment 2004 and attachment 2005. Ilija Note: I haven't been able to test it with multiple i2c masters. Ilija -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.