[PATCH 1/2] serial-imx: fix for non of usage

Sascha Hauer s.hauer at pengutronix.de
Mon Sep 22 23:04:45 PDT 2014


Hi Eric,

On Tue, Sep 23, 2014 at 12:13:34AM +0200, Eric Bénard wrote:
> this was broken by :
> "3843bfd serial: imx: Determine device name from device tree"
> 
> Tested on an i.MX35.
> 
> Signed-off-by: Eric Bénard <eric at eukrea.com>

This is already fixed by:

commit dc82bce50b6d7050c8a65682f5ea4078b293f171
Author: Philipp Zabel <p.zabel at pengutronix.de>
Date:   Fri Aug 15 11:10:03 2014 +0200

    serial: imx: Fix for non-devicetree boards
    
    Commit 3843bfd0ab77eaf125ca617922927b61fc8ded74
    "serial: imx: Determine device name from device tree"
    broke this driver for non-devicetree boards, since
    of_alias_get may not be called with a NULL pointer
    as first argument.
    
    Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
    Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>

It is contained in master and in the stable/v2014.09 branch.
Unfortunately it's broken in the last release.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list