summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorChen Liangjun <b36089@freescale.com>2012-09-04 16:51:41 +0800
committerJason Liu <r64343@freescale.com>2012-09-05 13:14:26 +0800
commit16cea6f59553e0a91212ccf5d12c87f95942f60e (patch)
treeb3773f924ba5ecca8fcd3bfe6a1c950283442b55 /drivers/fpga/fpga-mgr.c
parentebf4910b3a1da368a47c07a0b23808026e3a1df0 (diff)
ENGR00222900 HDMI AUDIO: fix kernel panic when doing suspend-resume test
In MX6 series, HDMI audio driver is responsible for add IEC header to audio samples. Driver would maintain variables to cover this work. The old driver would cause memory access exceeding issue: 1. Resume from an playback. In this case, variable maintained by ALSA is updated while variable maintained by HDMI driver is not updated. The mmap copy operation would run into error state due to misalignment. 2. underrun!!! The same error would happens as the items above. In this patch, add variable check while adding IED header. Signed-off-by: Chen Liangjun <b36089@freescale.com>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions