aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorAndi Shyti <[email protected]>2016-07-06 06:01:14 -0300
committerMauro Carvalho Chehab <[email protected]>2016-07-13 14:54:58 -0300
commit70143984dd2c714386ee2d6c0f650bff75873d75 (patch)
tree39446cf67f9084b122bc5ddd415969c634336fea /scripts/gcc-plugins/cyc_complexity_plugin.c
parent6fa99e1af1981d9a57cc73b5c2f05903f18413c1 (diff)
[media] lirc_dev: allow bufferless driver registration
Transmitters don't necessarily need to have a FIFO managed buffer for their transfers. When registering the driver, before allocating the buffer, check whether the device is a transmitter or receiver. Allocate the buffer only for receivers. Signed-off-by: Andi Shyti <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions