SHARE
TWEET

Untitled

a guest Jan 18th, 2020 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/drivers/media/dvb-frontends/m88ds3103.c b/drivers/media/dvb-frontends/m88ds3103.c
  2. index 661d1f2b51d2..5e9191c952da 100644
  3. --- a/drivers/media/dvb-frontends/m88ds3103.c
  4. +++ b/drivers/media/dvb-frontends/m88ds3103.c
  5. @@ -441,12 +441,14 @@ static int m88ds3103b_select_mclk(struct m88ds3103_dev *dev)
  6.     m88ds3103b_dt_write(dev, 0x15, reg15);
  7.     m88ds3103b_dt_write(dev, 0x16, reg16);
  8.  
  9. -   usleep_range(5000, 5500);
  10. +   //usleep_range(5000, 5500);
  11. +   msleep(20);
  12.  
  13.     m88ds3103b_dt_write(dev, 0x05, 0x00);
  14.     m88ds3103b_dt_write(dev, 0x11, (u8)(big_symbol ? 0x0E : 0x0A));
  15.  
  16. -   usleep_range(5000, 5500);
  17. +   //usleep_range(5000, 5500);
  18. +   msleep(20);
  19.  
  20.     return 0;
  21.  }
  22. @@ -613,12 +615,14 @@ static int m88ds3103b_set_mclk(struct m88ds3103_dev *dev, u32 mclk_khz)
  23.     m88ds3103b_dt_write(dev, 0x17, 0xc1);
  24.     m88ds3103b_dt_write(dev, 0x17, 0x81);
  25.  
  26. -   usleep_range(5000, 5500);
  27. +   //usleep_range(5000, 5500);
  28. +   msleep(20);
  29.  
  30.     m88ds3103b_dt_write(dev, 0x05, 0x00);
  31.     m88ds3103b_dt_write(dev, 0x11, 0x0A);
  32.  
  33. -   usleep_range(5000, 5500);
  34. +   //usleep_range(5000, 5500);
  35. +   msleep(20);
  36.  
  37.     return 0;
  38.  }
  39. diff --git a/drivers/media/dvb-frontends/ts2020.c b/drivers/media/dvb-frontends/ts2020.c
  40. index 6c24d6d0d4c9..54e92dd2ae10 100644
  41. --- a/drivers/media/dvb-frontends/ts2020.c
  42. +++ b/drivers/media/dvb-frontends/ts2020.c
  43. @@ -107,8 +107,10 @@ static int ts2020_init(struct dvb_frontend *fe)
  44.         };
  45.  
  46.         regmap_write(priv->regmap, 0x00, 0x01);
  47. +       msleep(20);
  48.         regmap_write(priv->regmap, 0x00, 0x03);
  49. -
  50. +       msleep(20);
  51. +      
  52.         switch (priv->clk_out) {
  53.         case TS2020_CLK_OUT_DISABLED:
  54.             u8tmp = 0x60;
  55. @@ -126,6 +128,7 @@ static int ts2020_init(struct dvb_frontend *fe)
  56.         }
  57.  
  58.         regmap_write(priv->regmap, 0x42, u8tmp);
  59. +       msleep(20);
  60.  
  61.         if (priv->loop_through)
  62.             u8tmp = 0xec;
  63. @@ -133,6 +136,7 @@ static int ts2020_init(struct dvb_frontend *fe)
  64.             u8tmp = 0x6c;
  65.  
  66.         regmap_write(priv->regmap, 0x62, u8tmp);
  67. +       msleep(20);
  68.  
  69.         for (i = 0; i < ARRAY_SIZE(reg_vals); i++)
  70.             regmap_write(priv->regmap, reg_vals[i].reg,
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top