Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161033Ab3CVQpI (ORCPT ); Fri, 22 Mar 2013 12:45:08 -0400 Received: from void.printf.net ([89.145.121.20]:57282 "EHLO void.printf.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933488Ab3CVQpG (ORCPT ); Fri, 22 Mar 2013 12:45:06 -0400 From: Chris Ball To: James Hogan Cc: , , Seungwon Jeon , Jaehoon Chung Subject: Re: [PATCH] mmc: dw_mmc: move host->data_offset init earlier References: <1363085034-9270-1-git-send-email-james.hogan@imgtec.com> Date: Fri, 22 Mar 2013 12:45:01 -0400 In-Reply-To: <1363085034-9270-1-git-send-email-james.hogan@imgtec.com> (James Hogan's message of "Tue, 12 Mar 2013 10:43:54 +0000") Message-ID: <874ng3o036.fsf@octavius.laptop.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 883 Lines: 24 Hi, On Tue, Mar 12 2013, James Hogan wrote: > host->data_offset is initialised at the end of the probe function > depending on the VERID register, and is used for PIO operations. Move > this initialisation earlier, before IRQs or slots are initialised, to be > sure that PIO won't occur prior to host->data_offset being initialised. > > Signed-off-by: James Hogan > Cc: Seungwon Jeon > Cc: Jaehoon Chung > Cc: Chris Ball Thanks, pushed to mmc-next for 3.10. - Chris. -- Chris Ball One Laptop Per Child -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/