Merge "qpnp-smb2: Make CURRENT_MAX property writeable for usb_psy"
This commit is contained in:
commit
d01d82d616
1 changed files with 1 additions and 0 deletions
|
@ -558,6 +558,7 @@ static int smb2_usb_prop_is_writeable(struct power_supply *psy,
|
|||
enum power_supply_property psp)
|
||||
{
|
||||
switch (psp) {
|
||||
case POWER_SUPPLY_PROP_CURRENT_MAX:
|
||||
case POWER_SUPPLY_PROP_TYPEC_POWER_ROLE:
|
||||
return 1;
|
||||
default:
|
||||
|
|
Loading…
Add table
Reference in a new issue