Merge "qpnp-smb2: Make CURRENT_MAX property writeable for usb_psy"

This commit is contained in:
Linux Build Service Account 2017-02-10 06:45:54 -08:00 committed by Gerrit - the friendly Code Review server
commit d01d82d616

View file

@ -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: