Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276302
b: refs/heads/master
c: 48cc9b2
h: refs/heads/master
v: v3
  • Loading branch information
Jean Delvare authored and Dave Airlie committed Dec 1, 2011
1 parent 99ca80e commit a9161a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bc96f9424b0e95f2451398007be46824f93866d0
refs/heads/master: 48cc9b2c7dae377e39836c0a88dd1c5ba5566d17
8 changes: 4 additions & 4 deletions trunk/drivers/gpu/drm/radeon/radeon_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ int radeon_acpi_init(struct radeon_device *rdev)
acpi_handle handle;
int ret;

/* No need to proceed if we're sure that ATIF is not supported */
if (!ASIC_IS_AVIVO(rdev) || !rdev->bios)
return 0;

/* Get the device handle */
handle = DEVICE_ACPI_HANDLE(&rdev->pdev->dev);

/* No need to proceed if we're sure that ATIF is not supported */
if (!ASIC_IS_AVIVO(rdev) || !rdev->bios || !handle)
return 0;

/* Call the ATIF method */
ret = radeon_atif_call(handle);
if (ret)
Expand Down

0 comments on commit a9161a1

Please sign in to comment.