drm-shim: fix EOF case
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Tue, 12 Nov 2019 11:46:20 +0000 (12:46 +0100)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Wed, 13 Nov 2019 12:39:14 +0000 (12:39 +0000)
commite101af8671a13a8eb8ce714e07294b73a99821cd
tree308b697c25fbe3e352cc4c829cc7af99a0f38939
parentb12911c88e89c693a526db74f9399ee72dff77e7
drm-shim: fix EOF case

Close input end of the pipe after data was written. Without this
fix I have seen a hang in sysfs_uevent_get(.., "OF_FULLNAME")
when key was not found.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/drm-shim/drm_shim.c