03 Nov, 2014

1 commit


10 Oct, 2014

1 commit

  • While not all archs have readl_relaxed, we need to add a hack at the
    driver to allow it to COMPILE_TEST on all archs:

    drivers/media/rc/ir-hix5hd2.c: In function ‘hix5hd2_ir_config’:
    drivers/media/rc/ir-hix5hd2.c:100:2: error: implicit declaration of function ‘readl_relaxed’ [-Werror=implicit-function-declaration]

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     

26 Sep, 2014

1 commit

  • drivers/media/rc/ir-hix5hd2.c:99:41: warning: incorrect type in argument 2 (different address spaces)
    drivers/media/rc/ir-hix5hd2.c:99:41: expected void volatile [noderef] *addr
    drivers/media/rc/ir-hix5hd2.c:99:41: got void *
    drivers/media/rc/ir-hix5hd2.c:100:16: warning: incorrect type in argument 1 (different address spaces)
    drivers/media/rc/ir-hix5hd2.c:100:16: expected void const volatile [noderef] *addr
    drivers/media/rc/ir-hix5hd2.c:100:16: got void *
    drivers/media/rc/ir-hix5hd2.c:117:40: warning: incorrect type in argument 2 (different address spaces)
    drivers/media/rc/ir-hix5hd2.c:117:40: expected void volatile [noderef] *addr
    drivers/media/rc/ir-hix5hd2.c:117:40: got void *
    drivers/media/rc/ir-hix5hd2.c:119:41: warning: incorrect type in argument 2 (different address spaces)
    drivers/media/rc/ir-hix5hd2.c:119:41: expected void volatile [noderef] *addr
    drivers/media/rc/ir-hix5hd2.c:119:41: got void *
    drivers/media/rc/ir-hix5hd2.c:121:41: warning: incorrect type in argument 2 (different address spaces)
    drivers/media/rc/ir-hix5hd2.c:121:41: expected void volatile [noderef] *addr
    drivers/media/rc/ir-hix5hd2.c:121:41: got void *
    drivers/media/rc/ir-hix5hd2.c:147:18: warning: incorrect type in argument 1 (different address spaces)
    drivers/media/rc/ir-hix5hd2.c:147:18: expected void const volatile [noderef] *addr
    drivers/media/rc/ir-hix5hd2.c:147:18: got void *
    drivers/media/rc/ir-hix5hd2.c:155:28: warning: incorrect type in argument 1 (different address spaces)
    drivers/media/rc/ir-hix5hd2.c:155:28: expected void const volatile [noderef] *addr
    drivers/media/rc/ir-hix5hd2.c:155:28: got void *
    drivers/media/rc/ir-hix5hd2.c:157:25: warning: incorrect type in argument 1 (different address spaces)
    drivers/media/rc/ir-hix5hd2.c:157:25: expected void const volatile [noderef] *addr
    drivers/media/rc/ir-hix5hd2.c:157:25: got void *
    drivers/media/rc/ir-hix5hd2.c:159:61: warning: incorrect type in argument 2 (different address spaces)
    drivers/media/rc/ir-hix5hd2.c:159:61: expected void volatile [noderef] *addr
    drivers/media/rc/ir-hix5hd2.c:159:61: got void *
    drivers/media/rc/ir-hix5hd2.c:167:28: warning: incorrect type in argument 1 (different address spaces)
    drivers/media/rc/ir-hix5hd2.c:167:28: expected void const volatile [noderef] *addr
    drivers/media/rc/ir-hix5hd2.c:167:28: got void *
    drivers/media/rc/ir-hix5hd2.c:169:36: warning: incorrect type in argument 1 (different address spaces)
    drivers/media/rc/ir-hix5hd2.c:169:36: expected void const volatile [noderef] *addr
    drivers/media/rc/ir-hix5hd2.c:169:36: got void *
    drivers/media/rc/ir-hix5hd2.c:188:64: warning: incorrect type in argument 2 (different address spaces)
    drivers/media/rc/ir-hix5hd2.c:188:64: expected void volatile [noderef] *addr
    drivers/media/rc/ir-hix5hd2.c:188:64: got void *
    drivers/media/rc/ir-hix5hd2.c:190:68: warning: incorrect type in argument 2 (different address spaces)
    drivers/media/rc/ir-hix5hd2.c:190:68: expected void volatile [noderef] *addr
    drivers/media/rc/ir-hix5hd2.c:190:68: got void *
    drivers/media/rc/ir-hix5hd2.c:220:20: warning: incorrect type in assignment (different address spaces)
    drivers/media/rc/ir-hix5hd2.c:220:20: expected void *base
    drivers/media/rc/ir-hix5hd2.c:220:20: got void [noderef] *
    drivers/media/rc/ir-hix5hd2.c:315:41: warning: incorrect type in argument 2 (different address spaces)
    drivers/media/rc/ir-hix5hd2.c:315:41: expected void volatile [noderef] *addr
    drivers/media/rc/ir-hix5hd2.c:315:41: got void *
    drivers/media/rc/ir-hix5hd2.c:316:41: warning: incorrect type in argument 2 (different address spaces)
    drivers/media/rc/ir-hix5hd2.c:316:41: expected void volatile [noderef] *addr
    drivers/media/rc/ir-hix5hd2.c:316:41: got void *
    drivers/media/rc/ir-hix5hd2.c:317:41: warning: incorrect type in argument 2 (different address spaces)
    drivers/media/rc/ir-hix5hd2.c:317:41: expected void volatile [noderef] *addr
    drivers/media/rc/ir-hix5hd2.c:317:41: got void *
    drivers/media/rc/ir-hix5hd2.c:318:41: warning: incorrect type in argument 2 (different address spaces)
    drivers/media/rc/ir-hix5hd2.c:318:41: expected void volatile [noderef] *addr
    drivers/media/rc/ir-hix5hd2.c:318:41: got void *

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     

24 Sep, 2014

1 commit

  • IR transmitter driver for Hisilicon hix5hd2 soc

    By default all protocols are disabled.
    For example nec decoder can be enabled by either
    1. ir-keytable -p nec
    2. echo nec > /sys/class/rc/rc0/protocols
    See see Documentation/ABI/testing/sysfs-class-rc

    [mchehab@osg.samsung.com: Add a fixup for the driver to compile on
    archs that don't provide writel_relaxed() macro]
    Signed-off-by: Guoxiong Yan
    Signed-off-by: Zhangfei Gao
    Signed-off-by: Mauro Carvalho Chehab

    Guoxiong Yan