[PATCH v4 2/5] OMAP: mailbox: fix rx interrupt disable in omap4

Felipe Balbi balbi at ti.com
Wed Nov 24 03:22:45 EST 2010


On Wed, Nov 24, 2010 at 10:46:04AM +0530, Varadarajan, Charulatha wrote:
>> diff --git a/arch/arm/plat-omap/mailbox.c b/arch/arm/plat-omap/mailbox.c
>> index 48e161c..a1c6bd9 100644
>> --- a/arch/arm/plat-omap/mailbox.c
>> +++ b/arch/arm/plat-omap/mailbox.c
>> @@ -358,6 +358,10 @@ int omap_mbox_register(struct device *parent, struct omap_mbox **list)
>>                        ret = PTR_ERR(mbox->dev);
>>                        goto err_out;
>>                }
>> +               if (cpu_is_omap44xx())
>
>Do not use cpu_is* checks in plat-omap/*

see the previous thread.

-- 
balbi



More information about the linux-arm-kernel mailing list