drm/msm: fix msm_gem_prime_get_sg_table()
authorRob Clark <robdclark@gmail.com>
Thu, 23 Jul 2015 17:44:56 +0000 (13:44 -0400)
committerRob Clark <robdclark@gmail.com>
Fri, 14 Aug 2015 21:10:13 +0000 (17:10 -0400)
commitbbcc71872a57cb4642c15423ae229aefdf09910a
tree28320b6b2faf49ed538545e2a004e504dd6a6cf8
parent8f9cb50789e76f3e224e8861adf650e55c747af4
drm/msm: fix msm_gem_prime_get_sg_table()

We need to return a new sgt, since the caller takes ownership of it.

Reported-by: Stanimir Varbanov <svarbanov@mm-sol.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_gem_prime.c