[PATCH] drm/radeon: fix error return code in TN thermal setup

Alex Deucher alexdeucher at gmail.com
Wed Apr 4 09:25:35 PDT 2012


On Tue, Apr 3, 2012 at 11:12 AM,  <alexdeucher at gmail.com> wrote:
> From: Alex Deucher <alexander.deucher at amd.com>
>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

Ignore this one.  Sorry.

Alex

> ---
>  drivers/gpu/drm/radeon/radeon_pm.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_pm.c b/drivers/gpu/drm/radeon/radeon_pm.c
> index caa55d6..17571da 100644
> --- a/drivers/gpu/drm/radeon/radeon_pm.c
> +++ b/drivers/gpu/drm/radeon/radeon_pm.c
> @@ -520,7 +520,7 @@ static int radeon_hwmon_init(struct radeon_device *rdev)
>        case THERMAL_TYPE_SI:
>                /* No support for TN yet */
>                if (rdev->family == CHIP_ARUBA)
> -                       return err;
> +                       return -ENOSYS;
>                rdev->pm.int_hwmon_dev = hwmon_device_register(rdev->dev);
>                if (IS_ERR(rdev->pm.int_hwmon_dev)) {
>                        err = PTR_ERR(rdev->pm.int_hwmon_dev);
> --
> 1.7.7.5
>


More information about the dri-devel mailing list