Commit ae4cb6bd authored by Tomas Winkler's avatar Tomas Winkler Committed by Greg Kroah-Hartman
Browse files

mei: docs: fix spelling errors

parent d37b59c7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1385,7 +1385,7 @@ static inline void mei_cl_bus_set_name(struct mei_cl_device *cldev)
 * @bus: mei device
 * @me_cl: me client
 *
 * Return: allocated device structur or NULL on allocation failure
 * Return: allocated device structure or NULL on allocation failure
 */
static struct mei_cl_device *mei_cl_bus_dev_alloc(struct mei_device *bus,
						  struct mei_me_client *me_cl)
@@ -1445,7 +1445,7 @@ static bool mei_cl_bus_dev_setup(struct mei_device *bus,
 *
 * @cldev: me client device
 *
 * Return: 0 on success; < 0 on failre
 * Return: 0 on success; < 0 on failure
 */
static int mei_cl_bus_dev_add(struct mei_cl_device *cldev)
{
+1 −1
Original line number Diff line number Diff line
@@ -161,7 +161,7 @@ static size_t mei_dma_copy_to(struct mei_device *dev, unsigned char *buf,
/**
 * mei_dma_ring_read() - read data from the ring
 * @dev: mei device
 * @buf: buffer to read into: may be NULL in case of droping the data.
 * @buf: buffer to read into: may be NULL in case of dropping the data.
 * @len: length to read.
 */
void mei_dma_ring_read(struct mei_device *dev, unsigned char *buf, u32 len)
+2 −2
Original line number Diff line number Diff line
@@ -111,7 +111,7 @@ void mei_hbm_idle(struct mei_device *dev)
}

/**
 * mei_hbm_reset - reset hbm counters and book keeping data structurs
 * mei_hbm_reset - reset hbm counters and book keeping data structures
 *
 * @dev: the device structure
 */
@@ -907,7 +907,7 @@ int mei_hbm_cl_disconnect_req(struct mei_device *dev, struct mei_cl *cl)
}

/**
 * mei_hbm_cl_disconnect_rsp - sends disconnect respose to the FW
 * mei_hbm_cl_disconnect_rsp - sends disconnect response to the FW
 *
 * @dev: the device structure
 * @cl: a client to disconnect from
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ static void mei_irq_discard_msg(struct mei_device *dev, struct mei_msg_hdr *hdr,
		discard_len = 0;
	}
	/*
	 * no need to check for size as it is guarantied
	 * no need to check for size as it is guaranteed
	 * that length fits into rd_msg_buf
	 */
	mei_read_slots(dev, dev->rd_msg_buf, discard_len);
+2 −2
Original line number Diff line number Diff line
@@ -70,9 +70,9 @@ enum mei_dev_state {
/**
 * enum mei_dev_pxp_mode - MEI PXP mode state
 *
 * @MEI_DEV_PXP_DEFAULT: PCH based device, no initailization required
 * @MEI_DEV_PXP_DEFAULT: PCH based device, no initialization required
 * @MEI_DEV_PXP_INIT:    device requires initialization, send setup message to firmware
 * @MEI_DEV_PXP_SETUP:   device is in setup stage, waiting for firmware repsonse
 * @MEI_DEV_PXP_SETUP:   device is in setup stage, waiting for firmware response
 * @MEI_DEV_PXP_READY:   device initialized
 */
enum mei_dev_pxp_mode {
Loading