gpu: ion: Fix debugfs handling of multiple kernel clients
authorLaura Abbott <lauraa@codeaurora.org>
Mon, 5 Dec 2011 23:32:36 +0000 (15:32 -0800)
committerColin Cross <ccross@android.com>
Fri, 20 Dec 2013 03:25:39 +0000 (19:25 -0800)
commitc95cd575f4ae04dbf59745f6f6f9e24f86571558
treec6929a7c4e311ad4c241e95423637b5fd473bb59
parent5ec06794e17b3c9ee1c59fa4ff6448a7f4384860
gpu: ion: Fix debugfs handling of multiple kernel clients

Currently, Ion registers all debugfs entries for clients
via pid. If there are multiple kernel clients, this means
the debugfs entry only gets created for the first one. Fix
this by creating debugfs entries by name always. When
creating user clients, specify the name via the pid.

Change-Id: I00cbb284d1c53b3362bb7be9c0275620a9fac167
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
drivers/staging/android/ion/ion.c