Revision df545d1cd01aab3ba3f687d5423e6c3687b069d8 authored by Laxman Dewangan on 01 March 2013, 14:43:46 UTC, committed by Samuel Ortiz on 12 March 2013, 08:25:49 UTC
Currently driver sets the irq type to IRQF_TRIGGER_LOW which is
causing interrupt registration failure in ARM based SoCs as:
[    0.208479] genirq: Setting trigger mode 8 for irq 118 failed (gic_set_type+0x0/0xf0)
[    0.208513] dummy 0-0059: Failed to request IRQ 118: -22

Provide the irq flags through platform data if device is registered
through board file or get the irq type from DT node property in place
of hardcoding the irq flag in driver to support multiple platforms.

Also configure the device to generate the interrupt signal according to
flag type.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
1 parent 5c854aa
Raw File
loader.HEX
:0300000002031CDC
:03004300020400B4
:10010000907FE9E0245B6060240260030201BE90FE
:100110007FEAE0750A00F50BA3E0FEE4EE420A90E8
:100120007FEEE0751500F516A3E0FEE4EE4215E55E
:1001300016451570030201BEE4907FC5F0907FB4B0
:10014000E020E3F9907FC5E0F50C120277AF0C7E5A
:1001500000EF250BF50BEE350AF50AC3E5169FF502
:1001600016E5159EF51580C7907FEAE0750A00F543
:100170000BA3E0FEE4EE420A907FEEE0751500F579
:1001800016A3E0FEE4EE4215E51645156030E49056
:100190007FC5F0907FB4E020E3F9907FC5E0F50CD7
:1001A00012028FAF0C7E00EF250BF50BEE350AF532
:0F01B0000AC3E5169FF516E5159EF51580CAC31F
:0101BF00221D
:1001C000C220D2E843D820907FAB74FFF0907FA983
:1001D000F0907FAAF05391EF907F95E044C0F090AB
:1001E0007F98E044C0F0907F9EE044C0F0E4907FB0
:1001F00094F0907F9DE0440FF0907F97E054F0F0F2
:10020000907FAFE04401F0907FAEE0440DF0D2AFBC
:10021000907F97E054F0F020204275140075130091
:100220007512007511007F487E927D007C00AB1432
:10023000AA13A912A811C312049A50DB2020D87A5D
:100240000079007800E5142401F514EA3513F5135C
:10025000E93512F512E83511F51180CA3020FD128A
:1002600001005007907FB4E04401F0907FB4E04477
:0602700002F0C22080E64E
:010276002265
:10027700E50CFFE50BF582E50AF58375927E74C000
:08028700F8E208F0A3DFFA22FF
:10028F00907F96858392A8827902900000E0B40057
:10029F00377401F0907F93E054FCF0907F96E05418
:1002AF00FCF0907F9CE04403F0907F94E0547FF04B
:1002BF00907F97E04480F0907F9DE04480F0907FA6
:1002CF0097E0547FF04480F0E50CFF907EC0E0F59E
:1002DF0028E4A24733F269F2E4A24633F269F2E46A
:1002EF00A24533F269F2E4A24433F269F2E4A24385
:1002FF0033F269F2E4A24233F269F2E4A24133F23B
:0D030F0069F2E4A24033F269F2A3DFC222DA
:0C031C00787FE4F6D8FD758129020363A8
:100328000201C0E493A3F8E493A34003F68001F22A
:1003380008DFF48029E493A3F85407240CC8C333D6
:10034800C4540F4420C8834004F456800146F6DFA5
:10035800E4800B0102040810204080900484E47EAD
:10036800019360BCA3FF543F30E509541FFEE4939A
:10037800A360010ECF54C025E060A840B8E493A361
:10038800FAE493A3F8E493A3C8C582C8CAC583CA8C
:10039800F0A3C8C582C8CAC583CADFE9DEE780BE44
:1003A800C0E0C083C082907FC4E4F05391EF907F97
:0B03B800AB7404F0D082D083D0E032A0
:1003C300C0E0C083C082D2205391EF907FAB740111
:0803D300F0D082D083D0E032AB
:1003DB00C0E0C083C0825391EF907FAB7402F0D02A
:0603EB0082D083D0E03255
:0103F10032D9
:0103F20032D8
:0103F30032D7
:0103F40032D6
:0103F50032D5
:0103F60032D4
:0103F70032D3
:0103F80032D2
:0103F90032D1
:0103FA0032D0
:0103FB0032CF
:0103FC0032CE
:0103FD0032CD
:0103FE0032CC
:0103FF0032CB
:100400000203C3000203DB000203A80002046E0023
:10041000020458000203F1000203F2000203F30099
:100420000203F4000203F5000203F6000203F700E2
:100430000203F8000203F9000203FA000203FB00C2
:100440000203FC000203FD000203FE000203FF00A2
:080450000204AB000204AC0041
:10045800C0E0C083C0825391EF907FAB7410F0D09E
:0604680082D083D0E032D7
:10046E00C0E0C083C0825391EF907FAB7408F0D090
:06047E0082D083D0E032C1
:10048400020A000F010C11040D00000000410000DD
:010494000067
:04049500021700004A
:010499000062
:10049A00EB9FF5F0EA9E42F0E99D42F0E89C45F0B8
:0104AA00222F
:0104AB00321E
:0104AC00321D
:1011000012011001000000406A0801010001010203
:10111000000109022000010103A0000904000002EF
:10112000FF0000040705820240000007050202409C
:10113000000004030904260341006E0063006800F8
:101140006F007200200043006800690070007300A7
:101150002C00200049006E0063002E00280346008A
:10116000690072006D007700610072006500200068
:101170004600720061006D00650057006F0072004C
:101180006B0073002A0343006F006E006600690065
:101190006700750072006100740069006F006E00E6
:1011A000200053007400720069006E006700220383
:1011B00049006E0074006500720066006100630003
:1011C0006500200053007400720069006E00670023
:0211D00000001D
:00000001FF
/*
 * This firmware is for the Emagic EMI 2|6 Audio Interface
 *
 * The firmware contained herein is Copyright (c) 1999-2002 Emagic
 * as an unpublished work. This notice does not imply unrestricted
 * or public access to this firmware which is a trade secret of Emagic,
 * and which may not be reproduced, used, sold or transferred to
 * any third party without Emagic's written consent. All Rights Reserved.
 *
 * This firmware may not be modified and may only be used with the
 * Emagic EMI 2|6 Audio Interface. Distribution and/or Modification of
 * any driver which includes this firmware, in whole or in part,
 * requires the inclusion of this statement.
 */
back to top