From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751200AbdEaVwc (ORCPT ); Wed, 31 May 2017 17:52:32 -0400 Received: from mail-qk0-f195.google.com ([209.85.220.195]:35548 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751085AbdEaVwa (ORCPT ); Wed, 31 May 2017 17:52:30 -0400 Subject: Re: [PATCH v2 net 2/2] net: phy: micrel: Restore led_mode and clk_sel on resume To: Leonard Crestez , "David S. Miller" , Andrew Lunn , Shawn Guo Cc: Andy Duan , Johan Hovold , Alexandre Belloni , Philipp Zabel , Fabio Estevam , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <1460beebce4ba23722cfb185b0f9f884cca3b9e9.1496224930.git.leonard.crestez@nxp.com> From: Florian Fainelli Message-ID: <49f66bd1-80f4-ca41-d2a6-eecb189bdebb@gmail.com> Date: Wed, 31 May 2017 14:52:26 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <1460beebce4ba23722cfb185b0f9f884cca3b9e9.1496224930.git.leonard.crestez@nxp.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/31/2017 03:29 AM, Leonard Crestez wrote: > These bits seem to be lost after a suspend/resume cycle so just set them > again. Do this by splitting the handling of these bits into a function > that is also called on resume. > > This patch fixes ethernet suspend/resume on imx6ul-14x14-evk boards. > > Signed-off-by: Leonard Crestez Reviewed-by: Florian Fainelli -- Florian