linux/drivers/media
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
..
common [media] media: change email address 2016-01-25 12:01:08 -02:00
dvb-core [media] Add support for Terratec Cinergy S2 Rev.4 2016-01-25 12:43:53 -02:00
dvb-frontends [media] si2165: Refactoring for si2165_writereg_mask8() 2016-01-25 15:15:38 -02:00
firewire [media] dvb: modify core to implement interfaces/entities at MC new gen 2016-01-11 12:18:52 -02:00
i2c [media] media: i2c: ov2659: speedup probe if no device connected 2016-01-25 15:15:37 -02:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] media: change email address 2016-01-25 12:01:08 -02:00
platform [media] gsc-m2m: Use an unsigned data type for a variable 2016-01-25 15:15:37 -02:00
radio [media] media, sound: tea575x: constify snd_tea575x_ops structures 2015-12-03 11:26:45 -02:00
rc [media] nuvoton-cir: fix setting ioport base address 2016-01-25 15:45:42 -02:00
tuners [media] r820t: Delete an unnecessary variable initialisation in generic_set_freq() 2016-01-25 15:15:39 -02:00
usb [media] msi2500: Delete an unnecessary check in msi2500_set_usb_adc() 2016-01-25 15:15:39 -02:00
v4l2-core media updates for v4.5-rc1 2016-01-13 11:46:37 -08:00
Kconfig [media] Kconfig: Re-enable Media controller support for DVB 2016-01-11 12:18:40 -02:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c Revert "[media] Postpone the addition of MEDIA_IOC_G_TOPOLOGY" 2016-01-25 07:29:43 -02:00
media-devnode.c [media] media-devnode: move kernel-doc documentation to the header 2016-01-11 12:19:13 -02:00
media-entity.c [media] media-entitiy: add a function to create multiple links 2016-01-11 12:19:26 -02:00