Tag: 068e94ea1700b1340ced1ea5dc7b3bdb41098613

[media] drx-j: replace the ugly CHK_ERROR() macro

Author: Mauro Carvalho Chehab <m.chehab@samsung.com> Using return and goto inside macros is ugly and makes harder to understand the code and the labels. Remove those macros, and add a proper error debug message, when something bad happens. This was generated using the following coccinelle script: @@ @@ -DUMMY_READ(); +do { + u16 dummy; + RR16(demod->my_i2c_dev_addr, …

Continue reading