From owner-freebsd-arm@FreeBSD.ORG Sun Mar 29 04:49:54 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 81BE9E67 for ; Sun, 29 Mar 2015 04:49:54 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 66FAAB94 for ; Sun, 29 Mar 2015 04:49:54 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2T4nsqB064035 for ; Sun, 29 Mar 2015 04:49:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 196081] [PATCH] ARM: sunxi: Add driver for the MMC/SD host found in the Allwinner A10 SoC Date: Sun, 29 Mar 2015 04:49:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ps06756@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc flagtypes.name attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Mar 2015 04:49:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196081 Pratik Singhal changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ps06756@gmail.com Attachment #154947| |maintainer-approval? Flags| | --- Comment #6 from Pratik Singhal --- Created attachment 154947 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=154947&action=edit Possible bug fix in the MMC/SD driver. In the a10_mmc_reset_controller function, the purpose of the do while loop is to wait till the register reset is done or time out has occurred. In the current code, the do while loop will continue to loop if the reset is done but timeout is not done. Also, it will exit if the reset is not done instead of waiting for the time out to occur. The patch corrects this. In the a10_mmc_attach function, the maximum value of operable frequency is termed as 50Hz, but it is coded as 52MHz which I have changed. -- You are receiving this mail because: You are the assignee for the bug.