From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomasz Figa Subject: Re: [PATCH 02/10] net: stmmac: Honor DT parameter to force DMA store and forward mode Date: Sat, 07 Dec 2013 12:06:03 +0100 Message-ID: <2994980.boLDbkkER8@flatron> References: <1386350983-13281-1-git-send-email-wens@csie.org> <20131207100737.GI24519@lukather> Reply-To: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: In-Reply-To: <20131207100737.GI24519@lukather> List-Post: , List-Help: , List-Archive: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , To: "maxime.ripard" Cc: Chen-Yu Tsai , David Miller , Giuseppe Cavallaro , netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "rob.herring" , devicetree , linux-arm-kernel , linux-kernel , linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, Srinivas KANDAGATLA List-Id: devicetree@vger.kernel.org On Saturday 07 of December 2013 11:07:37 maxime.ripard wrote: > On Sat, Dec 07, 2013 at 09:23:27AM +0800, Chen-Yu Tsai wrote: > > Point taken. The current implementation will override settings passed from > > platform data. ORing the two would be better. > > Platform_data and DT-based configuration are pretty unlikely to be > used together, so ORing it doesn't have much sense. In fact, the recommended way is to always use platform data alone if it is present or try to parse DT otherwise, so no mixing of data from these two sources should be done. Best regards, Tomasz