Skip to content
  • Andrey Smirnov's avatar
    thermal: qoriq: Do not report invalid temperature reading · 0f83ec23
    Andrey Smirnov authored
    
    
    Before returning measured temperature data to upper layer we need to
    make sure that the reading was marked as "valid" to avoid reporting
    bogus data.
    
    Signed-off-by: default avatarAndrey Smirnov <andrew.smirnov@gmail.com>
    Cc: Chris Healy <cphealy@gmail.com>
    Cc: Lucas Stach <l.stach@pengutronix.de>
    Cc: Zhang Rui <rui.zhang@intel.com>
    Cc: Eduardo Valentin <edubezval@gmail.com>
    Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
    Cc: linux-imx@nxp.com
    Cc: linux-pm@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    0f83ec23