From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752285AbZHSODU (ORCPT ); Wed, 19 Aug 2009 10:03:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751902AbZHSODT (ORCPT ); Wed, 19 Aug 2009 10:03:19 -0400 Received: from ey-out-2122.google.com ([74.125.78.25]:30159 "EHLO ey-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751849AbZHSODS (ORCPT ); Wed, 19 Aug 2009 10:03:18 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; b=mtAM+6yjln6bSsN/IDumtftFClkCMd+hJWQPJ85YbGncP8B8/nyC2sVus5LwB8wlr2 eTPz+3wmMYvD6Y4BTUFIOmiQuracI+ksKaW4m6nxSGCIbsUukomSk0g1a7j9YGy/uL+/ w7Muzjw0ziKtRtW9Ikcej1z9m3w4Bac5d4ZYE= Message-ID: <4A8C0623.8030808@tuffmail.co.uk> Date: Wed, 19 Aug 2009 15:03:15 +0100 From: Alan Jenkins User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: Matthew Garrett CC: Marcel Holtmann , linux acpi , linux-kernel , "linux-wireless@vger.kernel.org" Subject: [PATCH 0/5] dell-laptop improvements Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mario Limonciello's compal-laptop changes were partly based on a reading of dell-laptop. Unfortunately dell-laptop set a few bad examples; let's fix them. I don't have the hardware to test this, but the first four patches should be nice and low risk. dell-laptop: fix a use-after-free error on the failure path dell-laptop: fix rfkill memory leak on unload and failure paths dell-laptop: create a platform device as a parent for the rfkill devices etc. dell-laptop: add __init to init functions The last patch adds polling for the hardware switch which blocks all radios. This exercises the hardware a little more than before; it would benefit from testing. It should be possible to see events generated by the hardware switch using "udevadm monitor --kernel --environment". dell-laptop: poll the rfkill hard-block