Merge branch 'next' into resolution
authorKishon Vijay Abraham I <kishon@ti.com>
Thu, 15 Sep 2016 10:16:11 +0000 (15:46 +0530)
committerKishon Vijay Abraham I <kishon@ti.com>
Thu, 15 Sep 2016 11:15:20 +0000 (16:45 +0530)
Conflicts:
drivers/extcon/extcon-adc-jack.c
drivers/extcon/extcon-arizona.c
drivers/extcon/extcon-gpio.c
include/linux/extcon.h

1  2 
drivers/extcon/extcon-gpio.c
include/linux/extcon.h

index e7aebbc945f65bc24f846efbc465efb1f969db98,b1b0264eb12db59f81f12e15e43e0f2cf3a168e9..ebed22f22d75701e020716c0bd2c4c1da3722fb1
@@@ -49,7 -49,7 +49,8 @@@ static void gpio_extcon_work(struct wor
        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)
index 5c35f9d1822c96ef962c6b04e87e1ccbb94387d8,b34d1ae9011f0232ae21f882feb3b4f02a4c2d2d..2b9f15156115f0cf134d2ae70d56619dcd35ede5
@@@ -249,7 -238,7 +249,6 @@@ extern int extcon_set_state(struct extc
                                   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.
   */
@@@ -359,10 -348,10 +358,27 @@@ static inline int extcon_set_state_sync
  }
  
  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)
  {