Search Linux Wireless

Re: [PATCH] wl1251: register platform_device to pass board data

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

 



On Tue, Apr 13, 2010 at 7:55 PM, Kalle Valo <kvalo@xxxxxxxxxx> wrote:
>> +struct wl12xx_platform_data *wl12xx_board_data;
>
> Shouldn't this be static? Also I assume that there is no way to
> allocate this dynamically, am I correct?

Yes, it should be static. Could not think if a way to avoid global
pointer though..

On Tue, Apr 13, 2010 at 9:36 PM, Kalle Valo <kvalo@xxxxxxxxxx> wrote:
> Bob Copeland <me@xxxxxxxxxxxxxxx> writes:
>
>> On Tue, Apr 13, 2010 at 12:55 PM, Kalle Valo <kvalo@xxxxxxxxxx> wrote:
>>>> However there is no way to pass this data through SDIO subsystem, so
>>>> this patch registers dummy platform_device to allow that.
>>
>> No objection to the patch, platforms like android want this so
>> you can set the gpio for irq handling instead of using the
>> SDIO interrupts.
>
> I talked with TI about the interrupts. They say SDIO interrupt should
> not be used, instead we should always the external gpio line for the
> interrupt.

I've got some patches for this in the pipeline, just need a way to
pass platform_data..

>> But maybe we should invent a way to send it through the SDIO
>> subsystem?
>
> I agree, that is the best option.

Well there are even more problems with this particular chip as it's
missing essential SDIO registers like CIS and CCCR and can't even
probe without some additional kernel hacks..

>> My hope was that device trees on ARM would solve the issue
>> eventually.
>
> But no luck yet?

There is lot of talk but it's not there yet, and I'm not sure it will
suit this case even. I think we can use my hack for the time being.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux