Messages in this thread | | | Subject | Re: [PATCH] reset: Fix of_reset_control_get() for consistent return values | From | Philipp Zabel <> | Date | Thu, 03 Sep 2015 11:49:06 +0200 |
| |
Hi Alban,
Am Mittwoch, den 02.09.2015, 18:35 +0200 schrieb Alban: [...] > That's no really the case. If the property doesn't exists, or the > requested index is out of range, of_parse_phandle_with_args() always > return -ENOENT. This is important for optional properties.
You are right, I've looked ad __of_parse_phandle_with_args and missed that it's explicitly checked in of_parse_phandle_with_args. I have applied your patch.
best regards Philipp
| |