client.c (a1f9ae2bd264e3aed95aacd0102bd22a0422b8d1) client.c (850f8940a6a38563ff401073fd845414ab49c5ed)
1/*
2 *
3 * Intel Management Engine Interface (Intel MEI) Linux driver
4 * Copyright (c) 2003-2012, Intel Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.

--- 1349 unchanged lines hidden (view full) ---

1358
1359 dev = cl->dev;
1360
1361 if (!cl->notify_en)
1362 return;
1363
1364 cl_dbg(dev, cl, "notify event");
1365 cl->notify_ev = true;
1/*
2 *
3 * Intel Management Engine Interface (Intel MEI) Linux driver
4 * Copyright (c) 2003-2012, Intel Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.

--- 1349 unchanged lines hidden (view full) ---

1358
1359 dev = cl->dev;
1360
1361 if (!cl->notify_en)
1362 return;
1363
1364 cl_dbg(dev, cl, "notify event");
1365 cl->notify_ev = true;
1366 wake_up_interruptible_all(&cl->ev_wait);
1366 if (!mei_cl_bus_notify_event(cl))
1367 wake_up_interruptible(&cl->ev_wait);
1367
1368 if (cl->ev_async)
1369 kill_fasync(&cl->ev_async, SIGIO, POLL_PRI);
1370
1368
1369 if (cl->ev_async)
1370 kill_fasync(&cl->ev_async, SIGIO, POLL_PRI);
1371
1371 mei_cl_bus_notify_event(cl);
1372}
1373
1374/**
1375 * mei_cl_notify_get - get or wait for notification event
1376 *
1377 * @cl: host client
1378 * @block: this request is blocking
1379 * @notify_ev: true if notification event was received

--- 429 unchanged lines hidden ---
1372}
1373
1374/**
1375 * mei_cl_notify_get - get or wait for notification event
1376 *
1377 * @cl: host client
1378 * @block: this request is blocking
1379 * @notify_ev: true if notification event was received

--- 429 unchanged lines hidden ---