Advertisement
Professor-Berni

kernel-diff los18.1

Feb 12th, 2021
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.26 KB | None | 0 0
  1. diff -r /home/bernhard/Downloads/android_kernel_sony_msm8994-lineage-18.1/arch/arm/boot/dts/qcom/msm8994-kitakami_common.dtsi /home/bernhard/Downloads/android_kernel_sony_msm8994_rework-lineage-18.1/arch/arm/boot/dts/qcom/msm8994-kitakami_common.dtsi
  2. 791c791
  3. < qcom,hot-bat-decidegc = <500>;
  4. ---
  5. > qcom,hot-bat-decidegc = <550>;
  6. diff -r /home/bernhard/Downloads/android_kernel_sony_msm8994-lineage-18.1/drivers/power/qpnp-charger.c /home/bernhard/Downloads/android_kernel_sony_msm8994_rework-lineage-18.1/drivers/power/qpnp-charger.c
  7. 3455,3463c3455,3462
  8. < if (chip->type != SMBBP) {
  9. < rc = qpnp_chg_masked_write(chip,
  10. < chip->usb_chgpth_base + COMP_OVR1,
  11. < 0xFF,
  12. < 0x2F, 1);
  13. < if (rc) {
  14. < pr_err("failed to write COMP_OVR1 rc=%d\n", rc);
  15. < return rc;
  16. < }
  17. ---
  18. >
  19. > rc = qpnp_chg_masked_write(chip,
  20. > chip->usb_chgpth_base + COMP_OVR1,
  21. > 0xFF,
  22. > 0x2F, 1);
  23. > if (rc) {
  24. > pr_err("failed to write COMP_OVR1 rc=%d\n", rc);
  25. > return rc;
  26. 3562,3570c3561,3568
  27. < if (chip->type != SMBBP) {
  28. < rc = qpnp_chg_masked_write(chip,
  29. < chip->usb_chgpth_base + COMP_OVR1,
  30. < 0xFF,
  31. < 0x00, 1);
  32. < if (rc) {
  33. < pr_err("failed to write COMP_OVR1 rc=%d\n", rc);
  34. < return rc;
  35. < }
  36. ---
  37. >
  38. > rc = qpnp_chg_masked_write(chip,
  39. > chip->usb_chgpth_base + COMP_OVR1,
  40. > 0xFF,
  41. > 0x00, 1);
  42. > if (rc) {
  43. > pr_err("failed to write COMP_OVR1 rc=%d\n", rc);
  44. > return rc;
  45. 3571a3570
  46. >
  47. 3782c3781
  48. < #define CONSECUTIVE_COUNT 10
  49. ---
  50. > #define CONSECUTIVE_COUNT 3
  51. diff -r /home/bernhard/Downloads/android_kernel_sony_msm8994-lineage-18.1/drivers/power/qpnp-smbcharger.c /home/bernhard/Downloads/android_kernel_sony_msm8994_rework-lineage-18.1/drivers/power/qpnp-smbcharger.c
  52. 1677c1677
  53. < if ((current_ma <= CURRENT_150_MA) || (current_ma == CURRENT_500_MA) || (current_ma == CURRENT_900_MA)) { // AP: Fast charge for USB
  54. ---
  55. > if (current_ma == CURRENT_900_MA) {
  56. 2136,2137d2135
  57. < rc = power_supply_set_voltage_limit(chip->usb_psy,
  58. < (chip->vfloat_mv + 50) * 1000);
  59. 2911c2909
  60. < else {
  61. ---
  62. > else
  63. 2913,2915d2910
  64. < power_supply_set_voltage_limit(chip->usb_psy,
  65. < chip->vfloat_mv * 1000);
  66. < }
  67. 6913d6907
  68. < update_usb_status(chip, is_usb_present(chip), false);
  69. diff -r /home/bernhard/Downloads/android_kernel_sony_msm8994-lineage-18.1/fs/sdcardfs/file.c /home/bernhard/Downloads/android_kernel_sony_msm8994_rework-lineage-18.1/fs/sdcardfs/file.c
  70. 79,82c79,80
  71. < fsstack_copy_inode_size(inode,
  72. < lower_file->f_path.dentry->d_inode);
  73. < fsstack_copy_attr_times(inode,
  74. < lower_file->f_path.dentry->d_inode);
  75. ---
  76. > fsstack_copy_inode_size(inode, file_inode(lower_file));
  77. > fsstack_copy_attr_times(inode, file_inode(lower_file));
  78. diff -r /home/bernhard/Downloads/android_kernel_sony_msm8994-lineage-18.1/fs/sdcardfs/super.c /home/bernhard/Downloads/android_kernel_sony_msm8994_rework-lineage-18.1/fs/sdcardfs/super.c
  79. 314,315d313
  80. < if (opts->unshared_obb)
  81. < seq_printf(m, ",unshared_obb");
  82. diff -r /home/bernhard/Downloads/android_kernel_sony_msm8994-lineage-18.1/fs/sdfat/blkdev.c /home/bernhard/Downloads/android_kernel_sony_msm8994_rework-lineage-18.1/fs/sdfat/blkdev.c
  83. 176d175
  84. < #ifdef CONFIG_SDFAT_DEBUG
  85. 178d176
  86. < #endif
  87. 232d229
  88. < #ifdef CONFIG_SDFAT_DEBUG
  89. 234d230
  90. < #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement