Replace a #ifdef with a IS_ENABLED() to allow rpmh master stat to be built
as a module.
Fixes: 6d5e000 ("drivers: soc: qcom: snapshot of sleep drivers for Lahaina")
Change-Id: Ic0dedbad11812a0bd932a9c0099dfb4632842177
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Commit 2094bed752 ("PM / devfreq: Add cache HW monitor governor") brought
in the cache HW monitor with an incorrect check for
CONFIG_DEVFREQ_GOV_QCOM_CACHE_HWMON that fails when the governor is
built as a module.
Change-Id: Ic0dedbadefc4885486660d32226e6dd89e006a11
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Add <linux/clk-provider.h> to resolve a dependency for struct clk_hw.
Change-Id: Ic0dedbadbece86ff0a5349edec356f9b211c7989
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Replace #ifdef with IS_ENABLED to make sure that the memlat prototypes
are available for a module build.
Fixes: a4e0d26 ("PM / devfreq: Introduce a memory-latency governor")
Change-Id: Ic0dedbade40e23bb148bbb9117c4a9b63e419111
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
When using the %*pbl printk format a special macro is needed to decode
the cpu mask and format it correctly.
Fixes: 74b58a6 ("PM / devfreq: memlat: Aggregate memlat mons under a controller")
Change-Id: Ic0dedbada86cf9cec02b1a5292aaf05f50c0c42f
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Remove a unused header from gpu_bwmon to avoid a compile error.
Change-Id: Ic0dedbad123f5b847e97660159c982c59f42a899
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Commit 50dc9bdad7 ("drivers: thermal: Add a snapshot of thermal
framework") changed the API for trace_thermal_zone_trip but didn't
update all the callers.
Change-Id: Ic0dedbade25d8c1250d389daa3d035dd3522028d
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Commit 9c0e5c7054 ("drivers: pinctrl: Add support for read/write of QUP
registers") added msm_qup_write but didn't export it resulting in the
following error:
ERROR: "msm_qup_write" [drivers/i3c/master/i3c-master-msm-geni.ko] undefined!
Change-Id: Ic0dedbadc6822cc2a8afe69ff71a9cd95e7c8665
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Fix the following warning from modpost:
WARNING: modpost: missing MODULE_LICENSE() in drivers/devfreq/arm-memlat-mon.o
Fixes: a4e0d26 ("PM / devfreq: Introduce a memory-latency governor")
Change-Id: Ic0dedbad2d3462ee407e5f2d5bcb9ded6e6ac83f
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
The following tracepoints were added to include/trace/events/power.h
but not exported:
ERROR: "__tracepoint_memlat_dev_update" [drivers/devfreq/governor_memlat.ko]
ERROR: "__tracepoint_memlat_dev_meas" [drivers/devfreq/governor_memlat.ko]
ERROR: "__tracepoint_cache_hwmon_update" [drivers/devfreq/governor_cache_hwmon.ko]
ERROR: "__tracepoint_cache_hwmon_meas" [drivers/devfreq/governor_cache_hwmon.ko]
ERROR: "__tracepoint_bw_hwmon_update" [drivers/devfreq/governor_bw_hwmon.ko]
ERROR: "__tracepoint_bw_hwmon_meas" [drivers/devfreq/governor_bw_hwmon.ko]
Change-Id: Ic0dedbadbee6533cba9ae312ab764873ab72a342
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Some always built-in drivers have a dependency on QCOM SCM so don't enable
them if QCOM SCM is built as a module.
Change-Id: Ic0dedbad472d2a36220126db86d3fcbf817ce53d
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Commit c69961762f ("coresight: Add snapshot of Coresight cti driver")
accidently added some duplicate Kconfig entries that had been previously
added by commit a47c331396 ("coresight: Add snapshot of Coresight TPDM
and TPDA driver").
Change-Id: Ic0dedbadef390fea5302a46bd64b94f2e1b185f3
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Fix up a bunch of headers so that they pass KERNEL_HEADER_TEST to ensure
that they are self-contained.
Change-Id: Ic0dedbad91f70263452c9a809333fe93c8ee2266
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Restructure CVP DSP driver to enhance error handling path
and accommodate features for future needs.
Change-Id: Icae8110241fa9598a8d570cc1148a00834cda779
Signed-off-by: Ruofei Ma <ruofeim@codeaurora.org>
Signed-off-by: George Shen <sqiao@codeaurora.org>
USB role switch driver provides framework to allow select USB
device or host mode stack based on detected USB device with
USB port.
Change-Id: Ie3c5886b55d1fd02076ff5b3051d864f80de62f1
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
usb_ep_enable() API performs start xfer command in addition to setting
endpoint configuration. USB BAM endpoint is reconfigured with endless
data transfer with msm_ep_queue() API which performs USB start xfer
command. This command fails as already start xfer command is invoked
previously. With this USB BAM related endpoint won't be configured as
endless. Fix this issue by adding endless flag with USB BAM endpoint.
Change-Id: Ib6ceead6d7e8e49e95ef2953e9140a43adffc0cf
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Add debug file system node to configure the thermal zone parameters
dynamically. This node will use the same format that is used to print
the configuration of the thermal zone.
Change-Id: I4fd8cdafcb689f4d986738864e31177401f9bc47
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>