Changeset 45739


Ignore:
Timestamp:
2015-05-23T17:29:20+02:00 (3 years ago)
Author:
blogic
Message:

w1-gpio-custom: Fix uninitialised variable causing 1-wire to not bind to GPIO

Signed-off-by: Andrew McDonnell <bugs@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/w1-gpio-custom/src/w1-gpio-custom.c

    r37874 r45739  
    114114        pdata.is_open_drain = params[BUS_PARAM_OD] ? 1 : 0; 
    115115        pdata.enable_external_pullup = NULL; 
     116        pdata.ext_pullup_enable_pin = -EINVAL; 
    116117 
    117118        err = platform_device_add_data(pdev, &pdata, sizeof(pdata)); 
Note: See TracChangeset for help on using the changeset viewer.