RE: [PATCH] tools/thermal: tmon: include pthread and time headers in tmon.h

2020-08-09 Thread Alejandro González
t; > In file included from tui.c:31:0: > > > tmon.h:54:17: error: field 'tv' has incomplete type > > > struct timeval tv; > > > ^~ > > > make[3]: *** [: tui.o] Error 1 > > > make[2]: *** [Makefile:83: tmon] Error 2 > > > > > > Signed-off-by: Markus Mayer > > > > Acked-by: Florian Fainelli > > -- > > Florian > > Reviewed-by: Sumeet Pawnikar > > Thanks, > Sumeet. I've tested this patch with musl-libc for the same arch. It works like a charm. Acked-by: Alejandro González Tested-by: Alejandro González

Re: [PATCH] mmc: sunxi: fix unusuable eMMC on some H6 boards by disabling DDR

2019-08-28 Thread Alejandro González
rds and/or eMMC not affected by this problem (are there any?), unless device trees are changed. El 27/8/19 a las 15:32, Maxime Ripard escribió: > On Sun, Aug 25, 2019 at 05:05:58PM +0200, Alejandro González wrote: >> Some Allwinner H6 boards have timing problems when dealing with >> DDR-ca

[PATCH] mmc: sunxi: fix unusuable eMMC on some H6 boards by disabling DDR

2019-08-25 Thread Alejandro González
-by: Alejandro González --- drivers/mmc/host/sunxi-mmc.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/sunxi-mmc.c b/drivers/mmc/host/sunxi-mmc.c index d577a6b0ceae..dac57d76d009 100644 --- a/drivers/mmc/host/sunxi-mmc.c +++ b/drivers/mmc/host/sunxi-mmc.c

Re: [RESEND PATCH 1/1] rtc: sun6i: Allow using as wakeup source from suspend

2019-08-24 Thread Alejandro González
Alejandro González wrote: > This patch allows userspace to set up wakeup alarms on any RTC handled by the > sun6i driver, and adds the necessary PM operations to allow resuming from > suspend when the configured wakeup alarm fires a IRQ. Of course, that the > device actually res

[RESEND PATCH 1/1] rtc: sun6i: Allow using as wakeup source from suspend

2019-08-21 Thread Alejandro González
case, the RTC alarm interrupt gets fired as exptected: $ echo +5 > /sys/class/rtc/rtc0/wakealarm && sleep 5 && grep rtc /proc/interrupts 29: 1 0 0 0 GICv2 133 Level 700.rtc Signed-off-by: Alejandro González --- drivers/r