mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 07:03:03 +02:00
2nd set of IIO fixes for the 6.3 cycle.
adi,ad5755
- Fix missing fwnode_handle_put() in error path.
atmel,at91-sam5d2
- Fix error code when trigger allocation fails that would have looked
like success.
taos,tsl2772
- Store the proximity-diodes value read from the device tree so it
is actually used rather than ignored.
-----BEGIN PGP SIGNATURE-----
iQJFBAABCAAvFiEEbilms4eEBlKRJoGxVIU0mcT0FogFAmQ0N70RHGppYzIzQGtl
cm5lbC5vcmcACgkQVIU0mcT0Fojl5xAAifeGkyXWWTa6NXVqTkfzZ8xxULItJWL6
I6oA7vehiwJAxTc05xUfYugtll4z8sSo4xxRQIEP9HCaOrnmwIqTohJMrCy+vN2b
aL3XnobOQuKjLAlISUqHMr+poDZtAgpkRa86eizvrhLBU/3/tJSrKKkEY1o14kF5
1Y8SrnQKxmeswCu2MgA2ff/ydPXbKwEB6opY3xqPsRbd33eya/WJhvUhevOeoLHv
aU8mqSOqgJI32mhcLzl9SUTn4XqBRrR8PWFd30qMTwmMUeOZWX4ZjUTxr5eqDiqY
l9KjKRAoeSizkVzBLI3/f4p5696OTWukFNqyCa03Q+p1QqHL3o2SaUMe923d2LfV
2jQlG+lTlQLznRpGPV9aOQxpTCUNrNEqn/tn9ur4/iOqUYuIEoeXT+Aeh3M6EKQz
Jo4xNuKzjI88quFdcuMeTRsIWDaJehlqIllhJxfCxD+E4Hyu9NHcnUrcdY8I4+d5
8U1xz9XoyH4a55wI9cOgmMP/dwn3O4w2XsUA7Ibk596QewT8yZD/qKPEMTZg6tzO
J2WJn6JcQIO+kpClPbg/x9aXXNN9uYTHrXLGnYSKNf+Pdiki/aVtKJISYUauPVjE
ZAHsh5kOEBBv11LLVO8jwsQ1EisoqdSpHMK3hmjGIwsva8Wd0BPQYo1LxLI7kgnr
ukrh8WP+B3M=
=iqNb
-----END PGP SIGNATURE-----
Merge tag 'iio-fixes-for-6.3b' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-linus
Jonathan writes:
2nd set of IIO fixes for the 6.3 cycle.
adi,ad5755
- Fix missing fwnode_handle_put() in error path.
atmel,at91-sam5d2
- Fix error code when trigger allocation fails that would have looked
like success.
taos,tsl2772
- Store the proximity-diodes value read from the device tree so it
is actually used rather than ignored.
* tag 'iio-fixes-for-6.3b' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio:
iio: light: tsl2772: fix reading proximity-diodes from device tree
iio: dac: ad5755: Add missing fwnode_handle_put()
iio: adc: at91-sama5d2_adc: fix an error code in at91_adc_allocate_trigger()
This commit is contained in:
commit
265f1ecff7
|
|
@ -1409,7 +1409,7 @@ static struct iio_trigger *at91_adc_allocate_trigger(struct iio_dev *indio,
|
|||
trig = devm_iio_trigger_alloc(&indio->dev, "%s-dev%d-%s", indio->name,
|
||||
iio_device_id(indio), trigger_name);
|
||||
if (!trig)
|
||||
return NULL;
|
||||
return ERR_PTR(-ENOMEM);
|
||||
|
||||
trig->dev.parent = indio->dev.parent;
|
||||
iio_trigger_set_drvdata(trig, indio);
|
||||
|
|
|
|||
|
|
@ -802,6 +802,7 @@ static struct ad5755_platform_data *ad5755_parse_fw(struct device *dev)
|
|||
return pdata;
|
||||
|
||||
error_out:
|
||||
fwnode_handle_put(pp);
|
||||
devm_kfree(dev, pdata);
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -601,6 +601,7 @@ static int tsl2772_read_prox_diodes(struct tsl2772_chip *chip)
|
|||
return -EINVAL;
|
||||
}
|
||||
}
|
||||
chip->settings.prox_diode = prox_diode_mask;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user