File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -543,6 +543,9 @@ static int usb251xb_get_ofdata(struct usb251xb *hub,
543
543
if (of_property_read_u16_array (np , "language-id" , & hub -> lang_id , 1 ))
544
544
hub -> lang_id = USB251XB_DEF_LANGUAGE_ID ;
545
545
546
+ if (of_property_read_u8 (np , "boost-up" , & hub -> boost_up ))
547
+ hub -> boost_up = USB251XB_DEF_BOOST_UP ;
548
+
546
549
cproperty_char = of_get_property (np , "manufacturer" , NULL );
547
550
strlcpy (str , cproperty_char ? : USB251XB_DEF_MANUFACTURER_STRING ,
548
551
sizeof (str ));
@@ -584,7 +587,6 @@ static int usb251xb_get_ofdata(struct usb251xb *hub,
584
587
* may be as soon as needed.
585
588
*/
586
589
hub -> bat_charge_en = USB251XB_DEF_BATTERY_CHARGING_ENABLE ;
587
- hub -> boost_up = USB251XB_DEF_BOOST_UP ;
588
590
hub -> boost_57 = USB251XB_DEF_BOOST_57 ;
589
591
hub -> boost_14 = USB251XB_DEF_BOOST_14 ;
590
592
hub -> port_map12 = USB251XB_DEF_PORT_MAP_12 ;
You can’t perform that action at this time.
0 commit comments