Skip to content

Commit

Permalink
drivers/power8_occ_i2c: Add back in poll data init
Browse files Browse the repository at this point in the history
This was mistakenly removed in a cleanup patch.

Signed-off-by: Norman James <[email protected]>
Signed-off-by: Joel Stanley <[email protected]>
  • Loading branch information
nkskjames authored and shenki committed Feb 2, 2016
1 parent 36693bc commit 2a3f5f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/hwmon/power8_occ_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,8 @@ static int occ_get_all(struct i2c_client *client, struct occ_response *occ_resp)
int ret;
uint8_t poll_cmd_data;

poll_cmd_data = 0x10;

/*
* TODO: fetch header, and then allocate the rest of the buffer based
* on the header size. Assuming the OCC has a fixed sized header
Expand Down

0 comments on commit 2a3f5f1

Please sign in to comment.