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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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
>
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux