Lines Matching refs:error
61 int error; in adc_ts_measure() local
69 error = iio_read_channel_raw(channel, &val); in adc_ts_measure()
70 if (error < 0) { in adc_ts_measure()
71 value = error; in adc_ts_measure()
247 int error; in vf50_ts_get_gpiod() local
251 error = PTR_ERR(*gpio_d); in vf50_ts_get_gpiod()
252 dev_err(dev, "Could not get gpio_%s %d\n", con_id, error); in vf50_ts_get_gpiod()
253 return error; in vf50_ts_get_gpiod()
273 int error; in vf50_ts_probe() local
279 error = devm_add_action(dev, vf50_ts_channel_release, channels); in vf50_ts_probe()
280 if (error) { in vf50_ts_probe()
283 return error; in vf50_ts_probe()
302 error = of_property_read_u32(dev->of_node, "vf50-ts-min-pressure", in vf50_ts_probe()
304 if (error) in vf50_ts_probe()
305 return error; in vf50_ts_probe()
329 error = input_register_device(input); in vf50_ts_probe()
330 if (error) { in vf50_ts_probe()
332 return error; in vf50_ts_probe()
335 error = vf50_ts_get_gpiod(dev, &touchdev->gpio_xp, "xp", GPIOD_OUT_LOW); in vf50_ts_probe()
336 if (error) in vf50_ts_probe()
337 return error; in vf50_ts_probe()
339 error = vf50_ts_get_gpiod(dev, &touchdev->gpio_xm, in vf50_ts_probe()
341 if (error) in vf50_ts_probe()
342 return error; in vf50_ts_probe()
344 error = vf50_ts_get_gpiod(dev, &touchdev->gpio_yp, "yp", GPIOD_OUT_LOW); in vf50_ts_probe()
345 if (error) in vf50_ts_probe()
346 return error; in vf50_ts_probe()
348 error = vf50_ts_get_gpiod(dev, &touchdev->gpio_ym, "ym", GPIOD_OUT_LOW); in vf50_ts_probe()
349 if (error) in vf50_ts_probe()
350 return error; in vf50_ts_probe()
356 error = devm_request_threaded_irq(dev, touchdev->pen_irq, in vf50_ts_probe()
359 if (error) { in vf50_ts_probe()
361 touchdev->pen_irq, error); in vf50_ts_probe()
362 return error; in vf50_ts_probe()