diff options
author | Andi Shyti <andi.shyti@samsung.com> | 2016-07-06 11:01:14 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-13 19:54:58 +0200 |
commit | 70143984dd2c714386ee2d6c0f650bff75873d75 (patch) | |
tree | 39446cf67f9084b122bc5ddd415969c634336fea /arch/microblaze | |
parent | [media] lirc_dev: place buffer allocation on separate function (diff) | |
download | linux-70143984dd2c714386ee2d6c0f650bff75873d75.tar.xz linux-70143984dd2c714386ee2d6c0f650bff75873d75.zip |
[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 <andi.shyti@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'arch/microblaze')
0 files changed, 0 insertions, 0 deletions