On Thu, 4 Nov 2010 22:33:09 +0000 "Busson, SebastienX" <[email protected]> wrote:
> From 4055d12d73d305c9fa68ab09019f2dacb240f6e9 Mon Sep 17 00:00:00 2001 > From: Jonathan DE CESCO <[email protected]> > Date: Thu, 4 Nov 2010 17:12:44 +0100 > Subject: [PATCH] Enable TI Wl12xx BT Initialization in Medfield init > file > > --- > arch/x86/kernel/mrst.c | 44 > ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 44 > insertions(+), 0 deletions(-) No decription, no signed off from the author... > +static int __init btfm_init(void) > +{ > + int retval = 0; > + int bt_enable; > + > + /* > + * Shared transport (BT and FM) > + */ > + > + /* Get the GPIO number from the SFI table */ > + bt_enable = get_gpio_by_name("BT-reset"); /*Name as defined in > the SFI table*/ > + if (bt_enable == -1) > + { > + printk(KERN_ERR "%s: Unable to find BT-reset GPIO in the SFI > table\n", __func__); > + retval = -EIO; > + goto out; > + } How about actually checking to see if the hardware is present, surely this should be coming off the platform tables - what do you expect this to do on other systems - just crash them ? _______________________________________________ MeeGo-kernel mailing list [email protected] http://lists.meego.com/listinfo/meego-kernel
