diff options
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/mbox_channels-db5500.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mbox_channels-db5500.c b/drivers/misc/mbox_channels-db5500.c index 64aaa29cc4f..1fb883f3296 100644 --- a/drivers/misc/mbox_channels-db5500.c +++ b/drivers/misc/mbox_channels-db5500.c @@ -475,7 +475,7 @@ static void handle_open_msg(u16 channel, u8 mbox_id) schedule_work(&tx_chan->open_msg); } else { /* No tx channel found on the list, allocate new element */ - tx_chan = kzalloc(sizeof(*tx_chan), GFP_KERNEL); + tx_chan = kzalloc(sizeof(*tx_chan), GFP_ATOMIC); if (tx_chan == NULL) { dev_err(&channels.pdev->dev, "failed to allocate memory\n"); |