]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
bcusdk: eibd: drop local clock_gettime in USB backends
authorKurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Fri, 25 Aug 2017 21:11:10 +0000 (23:11 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 6 Sep 2017 11:17:24 +0000 (13:17 +0200)
commit290b6cfdf688afd14e0c2597d9b6bd23dc67fc87
treeccbd8629e57d440db7623997d6691e8527380457
parent1faeae820de660eaddc07244c0d3eae72f7b8bee
bcusdk: eibd: drop local clock_gettime in USB backends

clock_gettime is defined locally, and calls pth_int_time, which
in turn calls clock_gettime.
The USB backend shouldn't overrule clock_gettime in the first place.
This patch fixes this endless recursion by removing the local defition.

Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit bc4f5598dccc191a1e2c6268fdcef1935e2fa212)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/bcusdk/0002-eibd-fix-endless-recursion-when-using-USB-backends.patch [new file with mode: 0644]