diff options
| author | Ionut Nicu <ionut.nicu@gmail.com> | 2010-11-05 17:01:50 +0000 |
|---|---|---|
| committer | Omar Ramirez Luna <omar.ramirez@ti.com> | 2011-02-04 20:11:24 -0600 |
| commit | 74c2d1f63f6fff26503f538ddacf0e45feb15f0d (patch) | |
| tree | dccf4dc5836c0293548c837faa2123d37b422ff4 /include | |
| parent | 59403c21afdcd2e89aeadc73b99ccd82d32733b3 (diff) | |
staging: tidspbridge: fix kernel oops in bridge_io_get_proc_load
The DSP shared memory area gets initialized only when
a COFF file is loaded.
If bridge_io_get_proc_load is called before loading a base
image into the DSP, the shared_mem member of the io manager
will be NULL, resulting in a kernel oops when it's dereferenced.
Also made some coding style changes to bridge_io_create.
Signed-off-by: Ionut Nicu <ionut.nicu@mindbit.ro>
Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
