Lines Matching refs:error

290 	int error;  in pixcir_start()  local
293 error = pixcir_set_int_mode(ts, PIXCIR_INT_LEVEL_TOUCH, 0); in pixcir_start()
294 if (error) { in pixcir_start()
295 dev_err(dev, "Failed to set interrupt mode: %d\n", error); in pixcir_start()
296 return error; in pixcir_start()
303 error = pixcir_int_enable(ts, true); in pixcir_start()
304 if (error) { in pixcir_start()
306 error); in pixcir_start()
307 return error; in pixcir_start()
315 int error; in pixcir_stop() local
318 error = pixcir_int_enable(ts, false); in pixcir_stop()
319 if (error) { in pixcir_stop()
322 error); in pixcir_stop()
323 return error; in pixcir_stop()
466 int error; in pixcir_i2c_ts_probe() local
524 error = input_mt_init_slots(input, tsdata->max_fingers, in pixcir_i2c_ts_probe()
526 if (error) { in pixcir_i2c_ts_probe()
528 return error; in pixcir_i2c_ts_probe()
533 error = devm_gpio_request_one(dev, pdata->gpio_attb, in pixcir_i2c_ts_probe()
535 if (error) { in pixcir_i2c_ts_probe()
537 return error; in pixcir_i2c_ts_probe()
540 error = devm_request_threaded_irq(dev, client->irq, NULL, pixcir_ts_isr, in pixcir_i2c_ts_probe()
543 if (error) { in pixcir_i2c_ts_probe()
545 return error; in pixcir_i2c_ts_probe()
549 error = pixcir_set_power_mode(tsdata, PIXCIR_POWER_IDLE); in pixcir_i2c_ts_probe()
550 if (error) { in pixcir_i2c_ts_probe()
552 return error; in pixcir_i2c_ts_probe()
556 error = pixcir_stop(tsdata); in pixcir_i2c_ts_probe()
557 if (error) in pixcir_i2c_ts_probe()
558 return error; in pixcir_i2c_ts_probe()
560 error = input_register_device(input); in pixcir_i2c_ts_probe()
561 if (error) in pixcir_i2c_ts_probe()
562 return error; in pixcir_i2c_ts_probe()