Merge 5.6-rc7 into staging-next
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Mar 2020 07:01:20 +0000 (08:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Mar 2020 07:01:20 +0000 (08:01 +0100)
We need the staging/iio fixes in here as well

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1  2 
MAINTAINERS
drivers/iio/accel/st_accel_i2c.c
drivers/iio/light/vcnl4000.c
drivers/iio/trigger/stm32-timer-trigger.c
drivers/staging/speakup/main.c
drivers/staging/wfx/Documentation/devicetree/bindings/net/wireless/siliabs,wfx.txt
drivers/staging/wfx/sta.c

diff --cc MAINTAINERS
Simple merge
Simple merge
Simple merge
index 37545a8a02b71026881c80063e3178976901fea3,2f82e8c32186fdd66fa5cfb1aa386f0f8813082d..7d8962d6566a1621158e6af37c4a9f2a1cabdfed
@@@ -177,9 -161,10 +177,10 @@@ static int stm32_timer_start(struct stm
        return 0;
  }
  
- static void stm32_timer_stop(struct stm32_timer_trigger *priv)
+ static void stm32_timer_stop(struct stm32_timer_trigger *priv,
+                            struct iio_trigger *trig)
  {
 -      u32 ccer, cr1;
 +      u32 ccer;
  
        regmap_read(priv->regmap, TIM_CCER, &ccer);
        if (ccer & TIM_CCER_CCXE)
        regmap_write(priv->regmap, TIM_PSC, 0);
        regmap_write(priv->regmap, TIM_ARR, 0);
  
+       /* Force disable master mode */
+       if (stm32_timer_is_trgo2_name(trig->name))
+               regmap_update_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS2, 0);
+       else
+               regmap_update_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS, 0);
        /* Make sure that registers are updated */
        regmap_update_bits(priv->regmap, TIM_EGR, TIM_EGR_UG, TIM_EGR_UG);
 +
 +      if (priv->enabled) {
 +              priv->enabled = false;
 +              clk_disable(priv->clk);
 +      }
 +      mutex_unlock(&priv->lock);
  }
  
  static ssize_t stm32_tt_store_frequency(struct device *dev,
Simple merge
Simple merge