Advertisement
Guest User

Untitled

a guest
Mar 25th, 2023
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. diff -uraBN a/drivers/media/dvb-frontends/si2183.c b/drivers/media/dvb-frontends/si2183.c
  2. --- a/drivers/media/dvb-frontends/si2183.c
  3. +++ b/drivers/media/dvb-frontends/si2183.c
  4. @@ -16,6 +16,7 @@
  5. #include <media/dvb_frontend.h>
  6. #include <linux/firmware.h>
  7. #include <linux/i2c-mux.h>
  8. +#include <linux/version.h>
  9.  
  10. #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 7, 0)
  11. #define SI2183_USE_I2C_MUX
  12. @@ -1303,6 +1304,12 @@
  13. dev_err(&client->dev, "err set int ser_ts_sec\n");
  14. return ret;
  15. }
  16. +
  17. + // set pins
  18. + memcpy(cmd.args, "\x12\x8\x0", 3);
  19. + cmd.wlen = 3;
  20. + cmd.rlen = 3;
  21. + si2183_cmd_execute(client, &cmd);
  22.  
  23. dev->fw_loaded = true;
  24. warm:
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement