Re: [PATCH v2] firmware: give a protection when map page failed

2014-02-12 Thread Ming Lei
On Fri, Feb 7, 2014 at 2:41 PM, wrote: > From: zhang jun > > From the following oops log, we find firmware buffer is null, which caused by > memory alloc failed. > so, we need give a protection and return a error value. > [ 7341.474236] [drm:do_intel_finish_page_flip] *ERROR* invalid or inactiv

[PATCH v2] firmware: give a protection when map page failed

2014-02-06 Thread jun . zhang
From: zhang jun >From the following oops log, we find firmware buffer is null, which caused by >memory alloc failed. so, we need give a protection and return a error value. [ 7341.474236] [drm:do_intel_finish_page_flip] *ERROR* invalid or inactive unpin_work! [ 7341.494464] atomisp-css2400b0_v2