Searched hist:cc4e8c3dc95369c08615a4151bce8506b00356d9 (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/media/rc/img-ir/ |
H A D | img-ir.h | diff cc4e8c3dc95369c08615a4151bce8506b00356d9 Wed Feb 04 17:48:14 CET 2015 Sifan Naeem <sifan.naeem@imgtec.com> [media] rc: img-ir: Add and enable sys clock for img-ir
Gets a handle to the system clock, already described in the binding document, and calls the appropriate common clock framework functions to mark it prepared/enabled, the common clock framework initially enables the clock and doesn't disable it at least until the device/driver is removed. It's important the systen clock is enabled before register interface is accessed by the driver. The system clock to IR is needed for the driver to communicate with the IR hardware via MMIO accesses on the system bus, so it must not be disabled during use or the driver will malfunction.
Signed-off-by: Sifan Naeem <sifan.naeem@imgtec.com> Acked-by: James Hogan <james.hogan@imgtec.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
H A D | img-ir-core.c | diff cc4e8c3dc95369c08615a4151bce8506b00356d9 Wed Feb 04 17:48:14 CET 2015 Sifan Naeem <sifan.naeem@imgtec.com> [media] rc: img-ir: Add and enable sys clock for img-ir
Gets a handle to the system clock, already described in the binding document, and calls the appropriate common clock framework functions to mark it prepared/enabled, the common clock framework initially enables the clock and doesn't disable it at least until the device/driver is removed. It's important the systen clock is enabled before register interface is accessed by the driver. The system clock to IR is needed for the driver to communicate with the IR hardware via MMIO accesses on the system bus, so it must not be disabled during use or the driver will malfunction.
Signed-off-by: Sifan Naeem <sifan.naeem@imgtec.com> Acked-by: James Hogan <james.hogan@imgtec.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|