pmaports/device/.shared-patches/linux/qcom/msm8916/memshare-debug.patch
Minecrell aa1eefc44a
unmaintained/bq-paella-downstream: cleanup, add various debug patches (MR 2081)
These are various debugging related patches that I have used over the time
when attempting to get new features working for the mainline kernel.
Given that the downstream kernel is just intended for debugging in this case,
it seems convenient to add them to pmaports so I don't need to go search for
them in case I need them again in the future.

[ci:skip-build] Already built on CI
2021-03-31 23:49:26 +03:00

15 lines
520 B
Diff

This is useful for debugging GPS problems on some Qualcomm SoCs (e.g. msm8916),
since memshare is needed for that to work.
diff --git a/drivers/soc/qcom/memshare/msm_memshare.c b/drivers/soc/qcom/memshare/msm_memshare.c
index eafbbf42457..1185825b32b 100644
--- a/drivers/soc/qcom/memshare/msm_memshare.c
+++ b/drivers/soc/qcom/memshare/msm_memshare.c
@@ -10,6 +10,7 @@
* GNU General Public License for more details.
*
*/
+#define DEBUG
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/module.h>