17 Nov, 2018

1 commit


01 Nov, 2018

1 commit

  • Data abort was occurring when using "w1 bus" with a DS24B33 present.

    The abort occurred in the ds24xxx_probe() because the struct w1_device
    pointer was NULL. This is because that structure is allocated by
    the parent device uclass (by .per_child_platdata_auto_alloc_size)
    and thus the correct accessor is dev_get_parent_platdata() not
    dev_get_platdata()

    Signed-off-by: Martin Fuzzey
    Reviewed-by: Eugen Hristev

    Martin Fuzzey
     

29 Sep, 2018

3 commits