linux-stable/drivers/media/rc
Heiner Kallweit fb16aaf58c [media] nuvoton-cir: fix setting ioport base address
At least on Zotac CI321 ACPI provides an ioport range for the wake up part
but accessing these ioports has no effect.
Instead the ioport base address is set to another value already
(0xa20 in my case) and accessing this ioport range works.

Therefore set a new ioport base address only if the current ioport base
address is 0 (register reset default).

The need to use the existing base address instead of trying to set
an own one doesn't seem to be limited to this specific device as other
drivers like hwmon/nct6775 do it the same way.

This change was successfully tested on the mentioned device.
And the change should be generic enough to not break the driver for
other chips (however due to lack of appropriate hardware I wasn't
able to test this).

[mchehab@osg.samsung.com: Tested on Intel NUC NUC5i7RYB with BIOS
 version RYBDWi35.86A.0350.2015.0812.1722]

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Tested-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-01-25 15:45:42 -02:00
..
img-ir [media] rc: img-ir: fix error in parameters passed to irq_free() 2015-04-08 12:52:50 -03:00
keymaps [media] lmedm04: NEC scancode cleanup 2015-07-06 08:26:15 -03:00
ati_remote.c [media] ati_remote: Use non-alomic __set_bit 2014-07-25 23:52:15 -03:00
ene_ir.c PNP: media/rc: Use module_pnp_driver to register driver 2015-03-18 22:39:17 +01:00
ene_ir.h
fintek-cir.c [media] media/fintek: drop pci_ids dependency 2015-05-12 13:44:41 -03:00
fintek-cir.h [media] rc: Fir warnings on m68k arch 2013-11-08 09:45:37 -02:00
gpio-ir-recv.c [media] rc: gpio-ir-recv: add timeout on idle 2015-11-19 07:46:33 -02:00
igorplugusb.c [media] rc: port IgorPlug-USB to rc-core 2014-11-03 12:18:25 -02:00
iguanair.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
imon.c [media] imon: fix other RC type protocol support 2014-11-03 10:56:51 -02:00
ir-hix5hd2.c [media] ir-hix5hd2: drop the use of IRQF_NO_SUSPEND 2015-10-22 15:48:24 -02:00
ir-jvc-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ir-lirc-codec.c [media] ir-lirc-codec.c: don't leak lirc->drv-rbuf 2015-12-21 14:59:36 -02:00
ir-mce_kbd-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ir-nec-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ir-rc5-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ir-rc6-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ir-rx51.c [media] include/media: move platform_data to linux/platform_data/media 2015-11-17 06:58:42 -02:00
ir-sanyo-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ir-sharp-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ir-sony-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ir-xmp-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ite-cir.c PNP: media/rc: Use module_pnp_driver to register driver 2015-03-18 22:39:17 +01:00
ite-cir.h
Kconfig [media] media: rc: ir-sharp-decoder: add support for Denon variant of the protocol 2015-11-19 09:32:35 -02:00
lirc_dev.c [media] lirc_dev: avoid potential null-dereference 2015-02-03 17:33:42 -02:00
Makefile [media] media: rc: add driver for Amlogic Meson IR remote receiver 2014-11-26 13:29:01 -02:00
mceusb.c [media] mceusb: fix usbdev leak 2014-09-23 16:13:38 -03:00
meson-ir.c [media] media: rc: add driver for Amlogic Meson IR remote receiver 2014-11-26 13:29:01 -02:00
nuvoton-cir.c [media] nuvoton-cir: fix setting ioport base address 2016-01-25 15:45:42 -02:00
nuvoton-cir.h [media] nuvoton-cir: use IR_DEFAULT_TIMEOUT and consider SAMPLE_PERIOD 2016-01-25 15:45:39 -02:00
rc-core-priv.h [media] media: rc: raw: improve FIFO handling 2016-01-25 12:38:09 -02:00
rc-ir-raw.c [media] media: rc: raw: improve FIFO handling 2016-01-25 12:38:09 -02:00
rc-loopback.c Revert "[media] rc: rc-loopback: Add loopback of filter scancodes" 2015-08-19 07:02:53 -03:00
rc-main.c [media] media: rc: remove unneeded code 2015-12-03 15:01:11 -02:00
redrat3.c [media] ir: Fix IR_MAX_DURATION enforcement 2015-06-05 11:26:42 -03:00
st_rc.c [media] media: st-rc: remove misuse of IRQF_NO_SUSPEND flag 2015-11-19 06:46:05 -02:00
streamzap.c [media] rc-core: Remove 'struct timeval' usage 2015-11-19 09:31:45 -02:00
sunxi-cir.c [media] rc: sunxi-cir: Initialize the spinlock properly 2015-12-23 15:51:40 -02:00
ttusbir.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
winbond-cir.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00