stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	stable@vger.kernel.org, Amit Kucheria <amit.kucheria@linaro.org>,
	Eduardo Valentin <edubezval@gmail.com>,
	Sasha Levin <sashal@kernel.org>
Subject: [PATCH 4.19 018/118] drivers: thermal: tsens: Dont print error message on -EPROBE_DEFER
Date: Thu, 13 Jun 2019 10:32:36 +0200	[thread overview]
Message-ID: <20190613075644.680914873@linuxfoundation.org> (raw)
In-Reply-To: <20190613075643.642092651@linuxfoundation.org>

[ Upstream commit fc7d18cf6a923cde7f5e7ba2c1105bb106d3e29a ]

We print a calibration failure message on -EPROBE_DEFER from
nvmem/qfprom as follows:
[    3.003090] qcom-tsens 4a9000.thermal-sensor: version: 1.4
[    3.005376] qcom-tsens 4a9000.thermal-sensor: tsens calibration failed
[    3.113248] qcom-tsens 4a9000.thermal-sensor: version: 1.4

This confuses people when, in fact, calibration succeeds later when
nvmem/qfprom device is available. Don't print this message on a
-EPROBE_DEFER.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 drivers/thermal/qcom/tsens.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/thermal/qcom/tsens.c b/drivers/thermal/qcom/tsens.c
index a2c9bfae3d86..b139713289a4 100644
--- a/drivers/thermal/qcom/tsens.c
+++ b/drivers/thermal/qcom/tsens.c
@@ -171,7 +171,8 @@ static int tsens_probe(struct platform_device *pdev)
 	if (tmdev->ops->calibrate) {
 		ret = tmdev->ops->calibrate(tmdev);
 		if (ret < 0) {
-			dev_err(dev, "tsens calibration failed\n");
+			if (ret != -EPROBE_DEFER)
+				dev_err(dev, "tsens calibration failed\n");
 			return ret;
 		}
 	}
-- 
2.20.1




  parent reply	other threads:[~2019-06-13 16:21 UTC|newest]

Thread overview: 127+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-13  8:32 [PATCH 4.19 000/118] 4.19.51-stable review Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 001/118] rapidio: fix a NULL pointer dereference when create_workqueue() fails Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 002/118] fs/fat/file.c: issue flush after the writeback of FAT Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 003/118] sysctl: return -EINVAL if val violates minmax Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 004/118] ipc: prevent lockup on alloc_msg and free_msg Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 005/118] drm/pl111: Initialize clock spinlock early Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 006/118] ARM: prevent tracing IPI_CPU_BACKTRACE Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 007/118] mm/hmm: select mmu notifier when selecting HMM Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 008/118] hugetlbfs: on restore reserve error path retain subpool reservation Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 009/118] mem-hotplug: fix node spanned pages when we have a node with only ZONE_MOVABLE Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 010/118] mm/cma.c: fix crash on CMA allocation if bitmap allocation fails Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 011/118] initramfs: free initrd memory if opening /initrd.image fails Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 012/118] mm/cma.c: fix the bitmap status to show failed allocation reason Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 013/118] mm: page_mkclean vs MADV_DONTNEED race Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 014/118] mm/cma_debug.c: fix the break condition in cma_maxchunk_get() Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 015/118] mm/slab.c: fix an infinite loop in leaks_show() Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 016/118] kernel/sys.c: prctl: fix false positive in validate_prctl_map() Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 017/118] thermal: rcar_gen3_thermal: disable interrupt in .remove Greg Kroah-Hartman
2019-06-13  8:32 ` Greg Kroah-Hartman [this message]
2019-06-13  8:32 ` [PATCH 4.19 019/118] mfd: tps65912-spi: Add missing of table registration Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 020/118] mfd: intel-lpss: Set the device in reset state when init Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 021/118] drm/nouveau/disp/dp: respect sink limits when selecting failsafe link configuration Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 022/118] mfd: twl6040: Fix device init errors for ACCCTL register Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 023/118] perf/x86/intel: Allow PEBS multi-entry in watermark mode Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 024/118] drm/nouveau/kms/gf119-gp10x: push HeadSetControlOutputResource() mthd when encoders change Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 025/118] drm/bridge: adv7511: Fix low refresh rate selection Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 026/118] objtool: Dont use ignore flag for fake jumps Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 027/118] drm/nouveau/kms/gv100-: fix spurious window immediate interlocks Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 028/118] bpf: fix undefined behavior in narrow load handling Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 029/118] EDAC/mpc85xx: Prevent building as a module Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 030/118] pwm: meson: Use the spin-lock only to protect register modifications Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 031/118] mailbox: stm32-ipcc: check invalid irq Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 032/118] ntp: Allow TAI-UTC offset to be set to zero Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 033/118] f2fs: fix to avoid panic in do_recover_data() Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 034/118] f2fs: fix to avoid panic in f2fs_inplace_write_data() Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 035/118] f2fs: fix to avoid panic in f2fs_remove_inode_page() Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 036/118] f2fs: fix to do sanity check on free nid Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 037/118] f2fs: fix to clear dirty inode in error path of f2fs_iget() Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 038/118] f2fs: fix to avoid panic in dec_valid_block_count() Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 039/118] f2fs: fix to use inline space only if inline_xattr is enable Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 040/118] f2fs: fix to do sanity check on valid block count of segment Greg Kroah-Hartman
2019-06-13  8:32 ` [PATCH 4.19 041/118] f2fs: fix to do checksum even if inode page is uptodate Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 042/118] percpu: remove spurious lock dependency between percpu and sched Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 043/118] configfs: fix possible use-after-free in configfs_register_group Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 044/118] uml: fix a boot splat wrt use of cpu_all_mask Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 045/118] PCI: dwc: Free MSI in dw_pcie_host_init() error path Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 046/118] PCI: dwc: Free MSI IRQ page in dw_pcie_free_msi() Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 047/118] ovl: do not generate duplicate fsnotify events for "fake" path Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 048/118] mmc: mmci: Prevent polling for busy detection in IRQ context Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 049/118] netfilter: nf_flow_table: fix missing error check for rhashtable_insert_fast Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 050/118] netfilter: nf_conntrack_h323: restore boundary check correctness Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 051/118] mips: Make sure dt memory regions are valid Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 052/118] netfilter: nf_tables: fix base chain stat rcu_dereference usage Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 053/118] watchdog: imx2_wdt: Fix set_timeout for big timeout values Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 054/118] watchdog: fix compile time error of pretimeout governors Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 055/118] blk-mq: move cancel of requeue_work into blk_mq_release Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 056/118] iommu/vt-d: Set intel_iommu_gfx_mapped correctly Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 057/118] misc: pci_endpoint_test: Fix test_reg_bar to be updated in pci_endpoint_test Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 058/118] PCI: designware-ep: Use aligned ATU window for raising MSI interrupts Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 059/118] nvme-pci: unquiesce admin queue on shutdown Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 060/118] nvme-pci: shutdown on timeout during deletion Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 061/118] netfilter: nf_flow_table: check ttl value in flow offload data path Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 062/118] netfilter: nf_flow_table: fix netdev refcnt leak Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 063/118] ALSA: hda - Register irq handler after the chip initialization Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 064/118] nvmem: core: fix read buffer in place Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 065/118] nvmem: sunxi_sid: Support SID on A83T and H5 Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 066/118] fuse: retrieve: cap requested size to negotiated max_write Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 067/118] nfsd: allow fh_want_write to be called twice Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 068/118] nfsd: avoid uninitialized variable warning Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 069/118] vfio: Fix WARNING "do not call blocking ops when !TASK_RUNNING" Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 070/118] iommu/arm-smmu-v3: Dont disable SMMU in kdump kernel Greg Kroah-Hartman
2019-06-16 19:42   ` Pavel Machek
2019-06-16 20:06     ` Will Deacon
2019-06-13  8:33 ` [PATCH 4.19 071/118] switchtec: Fix unintended mask of MRPC event Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 072/118] net: thunderbolt: Unregister ThunderboltIP protocol handler when suspending Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 073/118] x86/PCI: Fix PCI IRQ routing table memory leak Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 074/118] i40e: Queues are reserved despite "Invalid argument" error Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 075/118] platform/chrome: cros_ec_proto: check for NULL transfer function Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 076/118] PCI: keystone: Prevent ARM32 specific code to be compiled for ARM64 Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 077/118] soc: mediatek: pwrap: Zero initialize rdata in pwrap_init_cipher Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 078/118] clk: rockchip: Turn on "aclk_dmac1" for suspend on rk3288 Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 079/118] soc: rockchip: Set the proper PWM for rk3288 Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 080/118] ARM: dts: imx51: Specify IMX5_CLK_IPG as "ahb" clock to SDMA Greg Kroah-Hartman
2019-06-15 20:05   ` Pavel Machek
2019-06-13  8:33 ` [PATCH 4.19 081/118] ARM: dts: imx50: " Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 082/118] ARM: dts: imx53: " Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 083/118] ARM: dts: imx6sx: Specify IMX6SX_CLK_IPG " Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 084/118] ARM: dts: imx6sll: Specify IMX6SLL_CLK_IPG as "ipg" " Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 085/118] ARM: dts: imx7d: Specify IMX7D_CLK_IPG " Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 086/118] ARM: dts: imx6ul: Specify IMX6UL_CLK_IPG " Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 087/118] ARM: dts: imx6sx: Specify IMX6SX_CLK_IPG " Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 088/118] ARM: dts: imx6qdl: Specify IMX6QDL_CLK_IPG " Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 089/118] PCI: rpadlpar: Fix leaked device_node references in add/remove paths Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 090/118] drm/amd/display: Use plane->color_space for dpp if specified Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 091/118] ALSA: seq: Protect in-kernel ioctl calls with mutex Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 092/118] ARM: OMAP2+: pm33xx-core: Do not Turn OFF CEFUSE as PPA may be using it Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 093/118] platform/x86: intel_pmc_ipc: adding error handling Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 094/118] power: supply: max14656: fix potential use-before-alloc Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 095/118] net: hns3: return 0 and print warning when hit duplicate MAC Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 096/118] PCI: rcar: Fix a potential NULL pointer dereference Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 097/118] PCI: rcar: Fix 64bit MSI message address handling Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 098/118] scsi: qla2xxx: Reset the FCF_ASYNC_{SENT|ACTIVE} flags Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 099/118] video: hgafb: fix potential NULL pointer dereference Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 100/118] video: imsttfb: fix potential NULL pointer dereferences Greg Kroah-Hartman
2019-06-13  8:33 ` [PATCH 4.19 101/118] block, bfq: increase idling for weight-raised queues Greg Kroah-Hartman
2019-06-13  8:34 ` [PATCH 4.19 102/118] PCI: xilinx: Check for __get_free_pages() failure Greg Kroah-Hartman
2019-06-13  8:34 ` [PATCH 4.19 103/118] gpio: gpio-omap: add check for off wake capable gpios Greg Kroah-Hartman
2019-06-13  8:34 ` [PATCH 4.19 104/118] ice: Add missing case in print_link_msg for printing flow control Greg Kroah-Hartman
2019-06-13  8:34 ` [PATCH 4.19 105/118] dmaengine: idma64: Use actual device for DMA transfers Greg Kroah-Hartman
2019-06-13  8:34 ` [PATCH 4.19 106/118] pwm: tiehrpwm: Update shadow register for disabling PWMs Greg Kroah-Hartman
2019-06-13  8:34 ` [PATCH 4.19 107/118] ARM: dts: exynos: Always enable necessary APIO_1V8 and ABB_1V8 regulators on Arndale Octa Greg Kroah-Hartman
2019-06-13  8:34 ` [PATCH 4.19 108/118] pwm: Fix deadlock warning when removing PWM device Greg Kroah-Hartman
2019-06-13  8:34 ` [PATCH 4.19 109/118] ARM: exynos: Fix undefined instruction during Exynos5422 resume Greg Kroah-Hartman
2019-06-13  8:34 ` [PATCH 4.19 110/118] usb: typec: fusb302: Check vconn is off when we start toggling Greg Kroah-Hartman
2019-06-13  8:34 ` [PATCH 4.19 111/118] soc: renesas: Identify R-Car M3-W ES1.3 Greg Kroah-Hartman
2019-06-13  8:34 ` [PATCH 4.19 112/118] gpio: vf610: Do not share irq_chip Greg Kroah-Hartman
2019-06-13  8:34 ` [PATCH 4.19 113/118] percpu: do not search past bitmap when allocating an area Greg Kroah-Hartman
2019-06-13  8:34 ` [PATCH 4.19 114/118] Revert "Bluetooth: Align minimum encryption key size for LE and BR/EDR connections" Greg Kroah-Hartman
2019-06-13  8:34 ` [PATCH 4.19 115/118] Revert "drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v3)" Greg Kroah-Hartman
2019-06-13  8:34 ` [PATCH 4.19 116/118] ovl: check the capability before cred overridden Greg Kroah-Hartman
2019-06-13  8:34 ` [PATCH 4.19 117/118] ovl: support stacked SEEK_HOLE/SEEK_DATA Greg Kroah-Hartman
2019-06-13  8:34 ` [PATCH 4.19 118/118] drm/vc4: fix fb references in async update Greg Kroah-Hartman
2019-06-13 13:30 ` [PATCH 4.19 000/118] 4.19.51-stable review kernelci.org bot
2019-06-13 18:33 ` Naresh Kamboju
2019-06-13 20:02 ` Guenter Roeck
2019-06-14  2:37 ` shuah
2019-06-14 10:29 ` Jon Hunter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190613075644.680914873@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=amit.kucheria@linaro.org \
    --cc=edubezval@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).