21 May, 2019
1 commit
-
Add SPDX license identifiers to all files which:
- Have no license information of any form
- Have MODULE_LICENCE("GPL*") inside which was used in the initial
scan/conversion to ignore the fileThese files fall under the project license, GPL v2 only. The resulting SPDX
license identifier is:GPL-2.0-only
Signed-off-by: Thomas Gleixner
Signed-off-by: Greg Kroah-Hartman
23 Nov, 2016
1 commit
-
If the driver is built as a module, autoload won't work because the module
alias information is not filled. So user-space can't match the registered
device with the corresponding module.Export the module alias information using the MODULE_DEVICE_TABLE() macro.
Before this patch:
$ modinfo drivers/thermal/tango_thermal.ko | grep alias
$After this patch:
$ modinfo drivers/thermal/tango_thermal.ko | grep alias
alias: of:N*T*Csigma,smp8758-thermalC*
alias: of:N*T*Csigma,smp8758-thermalAcked-by: Marc Gonzalez
Signed-off-by: Javier Martinez Canillas
Signed-off-by: Eduardo Valentin
27 Sep, 2016
1 commit
-
When this platform is suspended, firmware powers the entire SoC down,
except a few hardware blocks waiting for wakeup events. There is no
context to save for this particular block.Therefore, there is nothing useful for the driver to do on suspend;
so we define a NULL suspend hook. On resume, the driver initializes
the block exactly as is done in the probe callback.Signed-off-by: Marc Gonzalez
Reviewed-by: Kevin Hilman
Signed-off-by: Zhang Rui
17 May, 2016
3 commits
-
TEMPSI_CFG is not equal to 0 at reset. It must be initialized.
Signed-off-by: Marc Gonzalez
Signed-off-by: Eduardo Valentin -
drivers/thermal/tango_thermal.c:86:1-3: WARNING: PTR_ERR_OR_ZERO can be used
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
Generated by: scripts/coccinelle/api/ptr_ret.cocci
CC: Marc Gonzalez
Signed-off-by: Fengguang Wu
Signed-off-by: Eduardo Valentin -
The Tango thermal driver provides support for the primitive temperature
sensor embedded in Tango chips since the SMP8758.This sensor only generates a 1-bit signal to indicate whether the die
temperature exceeds a programmable threshold.Signed-off-by: Marc Gonzalez
Signed-off-by: Eduardo Valentin