From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 51BE930F520; Fri, 15 Aug 2025 17:25:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755278752; cv=none; b=hhW43q4tyvjqA3JMeERI/+XlIP3D8v6M0GoJ1EQGvsIjtWv91HFkMHVCy2vnAoFFKs6vW8iW4BbFGhXaMekXGoLrmQLgqWxWwz7jSfSQgGjTXhqPj9h3A+vcPCbFecBMs8Jal4FxhUqQyNc/CrZdQdHEgR3ZZmxwAZKc3MOxeo4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755278752; c=relaxed/simple; bh=rc3gQwDl8uJ25yUOpGIfNdPh1SOgU6dWcPb0iOMUP9w=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=h35C91w0PKjxjhwwr8+tGT2EJYcuRE5zqa+c1fPHLT+i9W6sOpZEy3yUON7AKEJO46tQU/+3bGWbge2iFDQnfITt5QFG53JveY7gjY8E2eyKgGRXNpXYeix5BTBt74V+YUuxfsyeXqve6E839mkR5SXPQG1mHRsCnEpqYUC5QZE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=qL03k+2G; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="qL03k+2G" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=ksn5h34BezXmSLbEr4X3Fxix8hxWQhHpX8F+SeQyB+4=; b=qL03k+2GuidQpLFhFTkfsmWZiw dfqNunG9k6Ukh5XA1iNoeYiLBmGOwlIadaY5aD1r+ISVwolBKmY2J7recBx1y8xhki3sviKg1C1rB +rOScAfN2CR086M99rWLCYoLNcdbTMRs9/Y/+n6fvdvM60BnFAhMtzgHQvzmsDeLxQrQ=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1umyBK-004qLi-4a; Fri, 15 Aug 2025 19:25:34 +0200 Date: Fri, 15 Aug 2025 19:25:34 +0200 From: Andrew Lunn To: Daniel Golle Cc: Xu Liang , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 1/2] net: phy: mxl-86110: add basic support for led_brightness_set op Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: > + phy_lock_mdio_bus(phydev); > + > + ret = __mxl86110_modify_extended_reg(phydev, > + MXL86110_COM_EXT_LED_GEN_CFG, > + MXL86110_COM_EXT_LED_GEN_CFG_LFE(index), > + 0); > + > + phy_unlock_mdio_bus(phydev); Please add a mxl86110_modify_extended_reg() which does the locking. There is already mxl86110_write_extended_reg() and mxl86110_read_extended_reg(). Andrew --- pw-bot: cr