From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Date: Thu, 17 Jan 2019 19:25:21 +0100 Subject: [U-Boot] [PATCH 09/11] drivers: serial: serial_sifive: Skip baudrate config if no input clock In-Reply-To: <20190117103748.36613-10-anup.patel@wdc.com> References: <20190117103748.36613-1-anup.patel@wdc.com> <20190117103748.36613-10-anup.patel@wdc.com> Message-ID: <8c223f08-8a58-36e9-1237-5ca345a2849c@suse.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 01/17/2019 11:39 AM, Anup Patel wrote: > From: Atish Patra > > It is possible that input clock is not available because clk > device was not available and 'clock-frequency' DT property is > also not available. > > In this case, instead of failing we should just skip baudrate > config by returning zero. > > Signed-off-by: Atish Patra > Signed-off-by: Anup Patel Reviewed-by: Alexander Graf Alex