FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 11-15-2008, 03:02 PM
Tim Gardner
 
Default SRU - LP#283126 - Intrepid can't suspend / hibernate on SONY Vaio VGN-Z540

Zhao, Yingying wrote:
> LP: #283126
>
> SRU justification: This patch fixes the bug that Intrepid can't suspend or hibernate on SONY Vaio VGN-Z540. The patch is already in mainline kernel 2.6.28-rc3.
>
> Test: I verified this patch with Intrepid GA on the SONY Vaio VGN-Z540.
>
> Patch (also attached):
>
> commit 6158d3a2323835546c7cf83a170316fa77b726e0
> Author: Matthew Garrett <mjg59@srcf.ucam.org<mailto:mjg59@srcf.ucam.org> >
> Date: Wed Oct 29 14:01:03 2008 -0700
>
> sony-laptop: ignore missing _DIS method on pic device
>
> At least the Vaio VGN-Z540N doesn't have this method, so let's not fail
> to suspend just because it doesn't exist.
>
> Signed-off-by: Adam Jackson <ajax@redhat.com<mailto:ajax@redhat.com>>
> Acked-by: Mattia Dongili <malattia@linux.it<mailto:malattia@linux.it>>
> Cc: Len Brown <lenb@kernel.org<mailto:lenb@kernel.org>>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org<mailto:akpm@linux-foundation.org>>
> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org<mailto:torvalds@linux-foundation.org>>
>
> diff --git a/drivers/misc/sony-laptop.c b/drivers/misc/sony-laptop.c
> index 5a97d3a..f483c42 100644
> --- a/drivers/misc/sony-laptop.c
> +++ b/drivers/misc/sony-laptop.c
> @@ -2315,8 +2315,10 @@ end:
> */
> static int sony_pic_disable(struct acpi_device *device)
> {
> - if (ACPI_FAILURE(acpi_evaluate_object(device->handle,
> - "_DIS", NULL, NULL)))
> + acpi_status ret = acpi_evaluate_object(device->handle, "_DIS", NULL,
> + NULL);
> +
> + if (ACPI_FAILURE(ret) && ret != AE_NOT_FOUND)
> return -ENXIO;
>
> dprintk("Device disabled
");
>
> Best Regards,
> Yingying
>
>
>
>

applied, LP updated

--
Tim Gardner tim.gardner@canonical.com

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 08:31 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org