state = gpiod_get_value_cansleep(data->id_gpiod);
if (data->pdata->gpio_active_low)
state = !state;
- extcon_set_cable_state_(data->edev, data->pdata->extcon_id, state);
++
+ extcon_set_state_sync(data->edev, data->pdata->extcon_id, state);
}
static irqreturn_t gpio_irq_handler(int irq, void *dev_id)
bool cable_state);
extern int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id,
bool cable_state);
--
/*
* Synchronize the state and property data for a specific external connector.
*/
}
static inline int extcon_sync(struct extcon_dev *edev, unsigned int id)
++<<<<<<< HEAD
++=======
++{
++ return 0;
++}
++
++static inline int extcon_get_property(struct extcon_dev *edev, unsigned int id,
++ unsigned int prop,
++ union extcon_property_value *prop_val)
++{
++ return 0;
++}
++static inline int extcon_set_property(struct extcon_dev *edev, unsigned int id,
++ unsigned int prop,
++ union extcon_property_value prop_val)
++>>>>>>> next
{
return 0;
}
++<<<<<<< HEAD
static inline int extcon_get_property(struct extcon_dev *edev, unsigned int id,
unsigned int prop,
union extcon_property_value *prop_val)
}
static inline int extcon_set_property(struct extcon_dev *edev, unsigned int id,
unsigned int prop,
++=======
++static inline int extcon_set_property_sync(struct extcon_dev *edev,
++ unsigned int id, unsigned int prop,
++>>>>>>> next
union extcon_property_value prop_val)
{
return 0;
}
++<<<<<<< HEAD
static inline int extcon_set_property_sync(struct extcon_dev *edev,
unsigned int id, unsigned int prop,
union extcon_property_value prop_val)
++=======
++static inline int extcon_get_property_capability(struct extcon_dev *edev,
++ unsigned int id, unsigned int prop)
++>>>>>>> next
{
return 0;
}
++<<<<<<< HEAD
static inline int extcon_get_property_capability(struct extcon_dev *edev,
unsigned int id, unsigned int prop)
{
return 0;
}
++=======
++>>>>>>> next
static inline int extcon_set_property_capability(struct extcon_dev *edev,
unsigned int id, unsigned int prop)
{